Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008348/0.0008352, allocations: 84.19 kB / 15.75 MB, free: 416 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.001084/0.001085, allocations: 175 kB / 16.63 MB, free: 6.887 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.747/1.747, allocations: 205.4 MB / 222.8 MB, free: 5.633 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.08563/0.08563, allocations: 12.59 MB / 283.7 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.0007571/0.0007572, allocations: 19.98 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1094, allocations: 50.37 MB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.001946/0.1115, allocations: 1.378 MB / 396.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.1119, allocations: 163.5 kB / 396.5 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.869e-05/0.112, allocations: 4 kB / 396.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1121, allocations: 3.938 kB / 396.5 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.1122, allocations: 11.92 kB / 396.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1125, allocations: 39.91 kB / 396.5 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.1126, allocations: 51.84 kB / 396.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1127, allocations: 23.97 kB / 396.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.1127, allocations: 15.94 kB / 396.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.1128, allocations: 15.86 kB / 396.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1128, allocations: 4 kB / 396.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.1128, allocations: 0 / 396.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.1129, allocations: 15.92 kB / 396.6 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.1129, allocations: 41.64 kB / 396.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.113, allocations: 47.84 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.113, allocations: 0 / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.113, allocations: 3.938 kB / 396.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.113, allocations: 0 / 396.7 MB, free: 0.9688 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004631/0.1135, allocations: 375.3 kB / 397.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1135, allocations: 12.03 kB / 397.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1136, allocations: 7.906 kB / 397.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1138, allocations: 194.8 kB / 397.3 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1138, allocations: 7.953 kB / 397.3 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1138, allocations: 8 kB / 397.3 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1142, allocations: 173.6 kB / 397.5 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1142, allocations: 0 / 397.5 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1142, allocations: 0 / 397.5 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.1142, allocations: 3.984 kB / 397.5 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1143, allocations: 47.84 kB / 397.5 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1148, allocations: 373.8 kB / 397.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.115, allocations: 119.9 kB / 398 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1151, allocations: 58.62 kB / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1152, allocations: 0 / 398.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1152, allocations: 38.55 kB / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1152, allocations: 0 / 398.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003284/0.1155, allocations: 125.6 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.1156, allocations: 114.8 kB / 398.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1158, allocations: 145 kB / 398.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1158, allocations: 25.7 kB / 398.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.1158, allocations: 92.14 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1159, allocations: 11.89 kB / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1159, allocations: 256 / 398.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.116, allocations: 326.8 kB / 398.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.1161, allocations: 15.98 kB / 399 MB, free: 14.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.1162, allocations: 71.66 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.1163, allocations: 27.98 kB / 399.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1163, allocations: 4 kB / 399.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1165, allocations: 105.5 kB / 399.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1165, allocations: 8 kB / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1165, allocations: 0 / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1165, allocations: 4 kB / 399.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.1166, allocations: 24.39 kB / 399.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1166, allocations: 12 kB / 399.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.1167, allocations: 15.78 kB / 399.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1167, allocations: 8 kB / 399.2 MB, free: 14.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001089/0.1168, allocations: 133.5 kB / 399.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1169, allocations: 69.91 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.117, allocations: 16.72 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.117, allocations: 4 kB / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.117, allocations: 0 / 399.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.117, allocations: 4 kB / 399.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1172, allocations: 185.6 kB / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1173, allocations: 0 / 399.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.1173, allocations: 16 kB / 399.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1173, allocations: 3.938 kB / 399.7 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1174, allocations: 11.98 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1174, allocations: 3.938 kB / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1174, allocations: 80 / 399.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1177, allocations: 316.2 kB / 400 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.1178, allocations: 100.9 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1178, allocations: 4 kB / 400.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.1179, allocations: 11.94 kB / 400.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.118, allocations: 11.94 kB / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.118, allocations: 0 / 400.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.1181, allocations: 107.2 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1181, allocations: 0 / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1184, allocations: 12 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001019/0.1185, allocations: 95.25 kB / 400.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1186, allocations: 67.84 kB / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1187, allocations: 0 / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.1187, allocations: 12 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1192, allocations: 39.95 kB / 400.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.1196, allocations: 225.6 kB / 400.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1199, allocations: 0.7044 MB / 401.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.1199, allocations: 12.59 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.1199, allocations: 11.44 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.12, allocations: 4 kB / 401.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Templates: time 0.00283/0.1228, allocations: 0.6024 MB / 402 MB, free: 11.23 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches