Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001093/0.001094, allocations: 92.33 kB / 16.3 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 186.2 kB / 17.19 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 7.938 kB / 300.7 MB, free: 6.012 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 50.43 MB / 351.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002039/0.1315, allocations: 1.271 MB / 352.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.1324, allocations: 447.2 kB / 352.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.1325, allocations: 0 / 352.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.454e-05/0.1325, allocations: 0 / 352.8 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1327, allocations: 15.92 kB / 352.9 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.133, allocations: 39.95 kB / 352.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.1331, allocations: 27.91 kB / 352.9 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1332, allocations: 12.27 kB / 352.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.1333, allocations: 19.86 kB / 353 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.1333, allocations: 15.92 kB / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1333, allocations: 0 / 353 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.1334, allocations: 4 kB / 353 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.1334, allocations: 19.92 kB / 353 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.64e-05/0.1335, allocations: 33.64 kB / 353 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.131e-05/0.1335, allocations: 31.89 kB / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1336, allocations: 0 / 353.1 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.1336, allocations: 3.984 kB / 353.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1336, allocations: 0 / 353.1 MB, free: 9.773 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.0004859/0.1341, allocations: 371 kB / 353.4 MB, free: 9.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1341, allocations: 8.031 kB / 353.4 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1342, allocations: 11.86 kB / 353.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1344, allocations: 185.6 kB / 353.6 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1344, allocations: 8 kB / 353.6 MB, free: 9.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.1344, allocations: 4 kB / 353.6 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.1347, allocations: 120.9 kB / 353.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1348, allocations: 4 kB / 353.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1348, allocations: 0 / 353.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1348, allocations: 3.953 kB / 353.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.4e-05/0.1349, allocations: 23.98 kB / 353.8 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1352, allocations: 265.8 kB / 354.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1355, allocations: 138.3 kB / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.1355, allocations: 0 / 354.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1355, allocations: 42.5 kB / 354.2 MB, free: 8.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1355, allocations: 0 / 354.2 MB, free: 8.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002902/0.1358, allocations: 97.73 kB / 354.3 MB, free: 8.309 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.1359, allocations: 85.09 kB / 354.4 MB, free: 8.207 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.136, allocations: 130 kB / 354.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1361, allocations: 29.7 kB / 354.6 MB, free: 8.035 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.1361, allocations: 88.12 kB / 354.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.1361, allocations: 8.031 kB / 354.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.1362, allocations: 0 / 354.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1363, allocations: 318.8 kB / 355 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.1363, allocations: 11.98 kB / 355 MB, free: 7.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.1364, allocations: 35.42 kB / 355 MB, free: 7.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.1364, allocations: 20 kB / 355 MB, free: 7.539 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1365, allocations: 0 / 355 MB, free: 7.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.1366, allocations: 73.55 kB / 355.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1366, allocations: 4.125 kB / 355.1 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1366, allocations: 8 kB / 355.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1367, allocations: 3.953 kB / 355.1 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.1367, allocations: 8 kB / 355.1 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1368, allocations: 4 kB / 355.1 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.1368, allocations: 3.984 kB / 355.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1368, allocations: 4 kB / 355.1 MB, free: 7.426 MB / 286.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 9.516e-05/0.1369, allocations: 117.8 kB / 355.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.137, allocations: 53.59 kB / 355.3 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.137, allocations: 12.25 kB / 355.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.137, allocations: 0 / 355.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1371, allocations: 3.953 kB / 355.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1371, allocations: 7.984 kB / 355.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1372, allocations: 169.6 kB / 355.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1372, allocations: 0 / 355.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.1373, allocations: 8 kB / 355.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1373, allocations: 0 / 355.5 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1373, allocations: 4 kB / 355.5 MB, free: 6.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1373, allocations: 3.984 kB / 355.5 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1373, allocations: 7.938 kB / 355.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.1375, allocations: 189.9 kB / 355.7 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1376, allocations: 96.94 kB / 355.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.1376, allocations: 0 / 355.8 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1377, allocations: 12 kB / 355.8 MB, free: 6.637 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1377, allocations: 3.953 kB / 355.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.1378, allocations: 4 kB / 355.8 MB, free: 6.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.1378, allocations: 109.3 kB / 355.9 MB, free: 6.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 0 / 355.9 MB, free: 6.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1381, allocations: 4 kB / 355.9 MB, free: 6.52 MB / 286.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.0001123/0.1382, allocations: 99.25 kB / 356 MB, free: 6.414 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1383, allocations: 39.92 kB / 356.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1383, allocations: 0 / 356.1 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.1384, allocations: 7.984 kB / 356.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1387, allocations: 23.95 kB / 356.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.139, allocations: 186 kB / 356.3 MB, free: 6.129 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1393, allocations: 0.7004 MB / 357 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.1394, allocations: 0 / 357 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.1394, allocations: 11.44 kB / 357 MB, free: 5.391 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1394, allocations: 4 kB / 357 MB, free: 5.387 MB / 286.1 MB Notification: Performance of Templates: time 0.002676/0.1421, allocations: 456.8 kB / 357.4 MB, free: 4.945 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches