Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 100.3 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 178.5 kB / 16.61 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.8 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07833/0.07833, allocations: 12.59 MB / 283.6 MB, free: 8.699 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007005/0.0007007, allocations: 24 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09945/0.1002, allocations: 50.39 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.002222/0.1024, allocations: 1.26 MB / 396.2 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1036, allocations: 488 kB / 396.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1038, allocations: 4 kB / 396.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.844e-05/0.1038, allocations: 3.938 kB / 396.6 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.104, allocations: 11.98 kB / 396.7 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1044, allocations: 39.83 kB / 396.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1045, allocations: 23.97 kB / 396.7 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.1047, allocations: 19.97 kB / 396.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.1048, allocations: 11.92 kB / 396.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.1049, allocations: 23.86 kB / 396.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1049, allocations: 4 kB / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.1049, allocations: 0 / 396.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.105, allocations: 8 kB / 396.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.1051, allocations: 33.64 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1052, allocations: 39.92 kB / 396.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1052, allocations: 3.938 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1052, allocations: 0 / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1052, allocations: 0 / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005657/0.1058, allocations: 367.3 kB / 397.2 MB, free: 408 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1058, allocations: 12.03 kB / 397.2 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.1059, allocations: 7.906 kB / 397.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1062, allocations: 190.8 kB / 397.4 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1062, allocations: 4 kB / 397.4 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1062, allocations: 7.938 kB / 397.4 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1065, allocations: 125 kB / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1065, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1066, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1066, allocations: 0 / 397.6 MB, free: 0 / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1067, allocations: 27.92 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.1071, allocations: 265.8 kB / 397.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1074, allocations: 138.2 kB / 398 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1074, allocations: 4 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1075, allocations: 38.64 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1075, allocations: 0 / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002997/0.1078, allocations: 85.58 kB / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1079, allocations: 77.11 kB / 398.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.108, allocations: 137.1 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.108, allocations: 29.83 kB / 398.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1081, allocations: 96.03 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.1081, allocations: 4 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.1081, allocations: 0 / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1082, allocations: 318.8 kB / 398.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.1083, allocations: 11.98 kB / 398.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.1083, allocations: 47.36 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.1084, allocations: 8 kB / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1084, allocations: 0 / 398.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.1085, allocations: 81.55 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1086, allocations: 4 kB / 398.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1086, allocations: 8 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1086, allocations: 0 / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.1087, allocations: 15.92 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1087, allocations: 3.938 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.1088, allocations: 4 kB / 398.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1088, allocations: 4 kB / 398.9 MB, free: 14.45 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.1089, allocations: 129.6 kB / 399.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.109, allocations: 49.59 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.1091, allocations: 16.23 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.1091, allocations: 0 / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1091, allocations: 0 / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1091, allocations: 4.266 kB / 399.1 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.1093, allocations: 173.6 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1093, allocations: 0 / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.1094, allocations: 15.92 kB / 399.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1094, allocations: 3.984 kB / 399.3 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1094, allocations: 8 kB / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1094, allocations: 0 / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1094, allocations: 0 / 399.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1096, allocations: 186 kB / 399.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.1097, allocations: 89.09 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1097, allocations: 0 / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.1098, allocations: 4 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.1099, allocations: 4 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1099, allocations: 4 kB / 399.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.11, allocations: 111.2 kB / 399.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.11, allocations: 3.938 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1102, allocations: 4 kB / 399.7 MB, free: 13.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.1104, allocations: 99.19 kB / 399.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1106, allocations: 35.97 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1106, allocations: 3.938 kB / 399.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.1106, allocations: 12 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.111, allocations: 23.97 kB / 399.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.1114, allocations: 189.7 kB / 400.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1117, allocations: 0.6965 MB / 400.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.36e-05/0.1118, allocations: 4 kB / 400.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.1118, allocations: 15.38 kB / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1118, allocations: 3.938 kB / 400.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Templates: time 0.002522/0.1143, allocations: 469.2 kB / 401.3 MB, free: 11.95 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches