Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 96.05 kB / 15.73 MB, free: 440 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.001413/0.001413, allocations: 172 kB / 16.61 MB, free: 6.426 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.586/1.586, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.08692/0.08692, allocations: 12.59 MB / 283.6 MB, free: 8.703 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.0007054/0.0007056, allocations: 20 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1035, allocations: 50.39 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.001786/0.1054, allocations: 1.205 MB / 396.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003768/0.1058, allocations: 143.6 kB / 396.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.1059, allocations: 0 / 396.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.1059, allocations: 3.938 kB / 396.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1061, allocations: 4 kB / 396.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1063, allocations: 27.91 kB / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.691e-05/0.1064, allocations: 31.91 kB / 396.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1066, allocations: 11.98 kB / 396.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.1066, allocations: 7.938 kB / 396.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.1066, allocations: 19.91 kB / 396.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1067, allocations: 0 / 396.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1067, allocations: 0 / 396.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.1067, allocations: 7.938 kB / 396.4 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1068, allocations: 33.7 kB / 396.4 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.686e-05/0.1068, allocations: 27.95 kB / 396.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1069, allocations: 4 kB / 396.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1069, allocations: 0 / 396.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1069, allocations: 0 / 396.4 MB, free: 1.25 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.0004536/0.1073, allocations: 363.3 kB / 396.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1074, allocations: 8.031 kB / 396.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1074, allocations: 7.906 kB / 396.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.1076, allocations: 190.9 kB / 397 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1077, allocations: 0 / 397 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1077, allocations: 11.95 kB / 397 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.108, allocations: 112.9 kB / 397.1 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.108, allocations: 0 / 397.1 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1081, allocations: 8 kB / 397.1 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.1081, allocations: 0 / 397.1 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.1082, allocations: 23.92 kB / 397.1 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1085, allocations: 261.8 kB / 397.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1088, allocations: 146.3 kB / 397.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1088, allocations: 0 / 397.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.1089, allocations: 30.56 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1089, allocations: 0 / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002786/0.1092, allocations: 93.52 kB / 397.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1092, allocations: 77.11 kB / 397.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1094, allocations: 138 kB / 397.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1094, allocations: 25.7 kB / 397.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.1094, allocations: 92.08 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/0.1095, allocations: 4 kB / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.1095, allocations: 0 / 398 MB, free: 15.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1096, allocations: 323 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.1096, allocations: 4 kB / 398.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.1097, allocations: 35.42 kB / 398.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.1097, allocations: 23.95 kB / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1098, allocations: 0 / 398.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/0.1099, allocations: 69.52 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1099, allocations: 9.25 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1099, allocations: 0 / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1099, allocations: 3.938 kB / 398.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.11, allocations: 12.12 kB / 398.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.11, allocations: 11.92 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.1101, allocations: 0 / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1101, allocations: 8 kB / 398.5 MB, free: 14.92 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 9.727e-05/0.1102, allocations: 121.6 kB / 398.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.1103, allocations: 53.86 kB / 398.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.1103, allocations: 12.25 kB / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1103, allocations: 3.938 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1103, allocations: 4 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1103, allocations: 4 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1105, allocations: 165.7 kB / 398.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1105, allocations: 3.953 kB / 398.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.1106, allocations: 11.98 kB / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1106, allocations: 0 / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1106, allocations: 0 / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1106, allocations: 4 kB / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1106, allocations: 0 / 398.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1108, allocations: 186 kB / 399 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.1108, allocations: 85.09 kB / 399.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1109, allocations: 4 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.1109, allocations: 7.938 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.111, allocations: 0 / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.111, allocations: 4 kB / 399.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.1111, allocations: 107.2 kB / 399.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 399.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.1113, allocations: 11.91 kB / 399.2 MB, free: 14.04 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: 4 (step.y,assignClock.u,assignClock.y,sample.y) * 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 9.254e-05/0.1114, allocations: 95.19 kB / 399.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1115, allocations: 36.11 kB / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1115, allocations: 0 / 399.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.1116, allocations: 11.98 kB / 399.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1119, allocations: 31.92 kB / 399.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1122, allocations: 165.8 kB / 399.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.1125, allocations: 0.6965 MB / 400.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.332e-05/0.1125, allocations: 0 / 400.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.1125, allocations: 11.44 kB / 400.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1125, allocations: 0 / 400.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Templates: time 0.002746/0.1153, allocations: 440.3 kB / 400.7 MB, free: 12.49 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches