Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 161.2 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 55.86 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1024, allocations: 53.33 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003161/0.1055, allocations: 1.502 MB / 380.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.1064, allocations: 450.8 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.1064, allocations: 4 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.1065, allocations: 3.938 kB / 380.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.1065, allocations: 11.88 kB / 380.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1068, allocations: 35.89 kB / 380.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1069, allocations: 31.92 kB / 380.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.107, allocations: 12 kB / 380.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1071, allocations: 31.84 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.1072, allocations: 15.86 kB / 381 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1072, allocations: 0 / 381 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.1072, allocations: 15.94 kB / 381 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1073, allocations: 0 / 381 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.671e-05/0.1073, allocations: 15.92 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1074, allocations: 47.75 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1074, allocations: 0 / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1074, allocations: 0 / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1074, allocations: 4 kB / 381.1 MB, free: 13.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004971/0.1079, allocations: 274.2 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.108, allocations: 12.03 kB / 381.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.1081, allocations: 12.92 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1084, allocations: 126.4 kB / 381.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1084, allocations: 4.375 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1084, allocations: 4.375 kB / 381.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1088, allocations: 119.6 kB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1088, allocations: 0 / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1088, allocations: 0 / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.1088, allocations: 4 kB / 381.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.1089, allocations: 19.98 kB / 381.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1091, allocations: 113.2 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1092, allocations: 54.55 kB / 381.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.1093, allocations: 32.91 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1093, allocations: 0 / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1093, allocations: 30.56 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1093, allocations: 4 kB / 381.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002578/0.1096, allocations: 77.55 kB / 381.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.1097, allocations: 59.39 kB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1098, allocations: 114.1 kB / 382.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1098, allocations: 25.7 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.1098, allocations: 88.12 kB / 382.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.039e-06/0.1098, allocations: 4.094 kB / 382.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1099, allocations: 17.66 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.11, allocations: 326.8 kB / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.11, allocations: 0 / 382.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.11, allocations: 27.44 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.1101, allocations: 31.38 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1101, allocations: 0 / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.687e-05/0.1102, allocations: 69.52 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1102, allocations: 8 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1102, allocations: 3.938 kB / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1102, allocations: 0 / 382.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.1103, allocations: 11.98 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1103, allocations: 0 / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.1103, allocations: 4 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1103, allocations: 0 / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/0.1104, allocations: 113.8 kB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1105, allocations: 65.73 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.1105, allocations: 11.94 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1105, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1106, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1106, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.51e-05/0.1106, allocations: 113.3 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1106, allocations: 0 / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.1107, allocations: 4 kB / 383 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1107, allocations: 4 kB / 383 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1107, allocations: 3.984 kB / 383 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1107, allocations: 7.938 kB / 383 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1107, allocations: 0 / 383 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.1109, allocations: 85.11 kB / 383.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.1109, allocations: 7.953 kB / 383.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1109, allocations: 4 kB / 383.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.352e-05/0.1109, allocations: 7.875 kB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-06/0.1109, allocations: 4.375 kB / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1109, allocations: 0 / 383.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6e-05/0.111, allocations: 95.2 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.111, allocations: 0 / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1112, allocations: 8 kB / 383.2 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.369e-05/0.1113, allocations: 95.25 kB / 383.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1114, allocations: 31.86 kB / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1114, allocations: 0 / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1114, allocations: 0 / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1116, allocations: 27.97 kB / 383.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1119, allocations: 138.8 kB / 383.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.015e-05/0.112, allocations: 71.53 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.258e-05/0.112, allocations: 0 / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.112, allocations: 12.5 kB / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.112, allocations: 0 / 383.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Templates: time 0.00259/0.1146, allocations: 372.4 kB / 384 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.17232392297592]