Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 105 kB / 17.59 MB, free: 5.418 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.001422/0.001422, allocations: 191.3 kB / 18.52 MB, free: 4.496 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.436/1.436, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 48.08 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003598/0.1311, allocations: 1.479 MB / 352.2 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1322, allocations: 440.4 kB / 352.6 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.1323, allocations: 3.938 kB / 352.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.1324, allocations: 3.938 kB / 352.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.1325, allocations: 11.88 kB / 352.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1329, allocations: 27.97 kB / 352.7 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.133, allocations: 39.8 kB / 352.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1332, allocations: 15.97 kB / 352.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1333, allocations: 15.94 kB / 352.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.1334, allocations: 19.92 kB / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1334, allocations: 3.938 kB / 352.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.1335, allocations: 4 kB / 352.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.1335, allocations: 7.984 kB / 352.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1336, allocations: 19.88 kB / 352.8 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.1337, allocations: 31.88 kB / 352.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1337, allocations: 4 kB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1337, allocations: 0 / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1337, allocations: 3.938 kB / 352.9 MB, free: 2.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005409/0.1343, allocations: 347.6 kB / 353.2 MB, free: 1.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1343, allocations: 16.02 kB / 353.2 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.1344, allocations: 4.844 kB / 353.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1346, allocations: 180.3 kB / 353.4 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1346, allocations: 4.375 kB / 353.4 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1346, allocations: 4.375 kB / 353.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.135, allocations: 119.5 kB / 353.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.135, allocations: 0 / 353.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.135, allocations: 4 kB / 353.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.135, allocations: 0 / 353.5 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.1351, allocations: 19.98 kB / 353.5 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.1353, allocations: 165.6 kB / 353.7 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1355, allocations: 54.59 kB / 353.8 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.1356, allocations: 20.89 kB / 353.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1356, allocations: 11.94 kB / 353.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1356, allocations: 38.48 kB / 353.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1357, allocations: 0 / 353.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002677/0.1359, allocations: 73.67 kB / 353.9 MB, free: 1.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.136, allocations: 51.41 kB / 353.9 MB, free: 1.008 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1361, allocations: 113.8 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1361, allocations: 25.7 kB / 354.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.1362, allocations: 88.14 kB / 354.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.1362, allocations: 4 kB / 354.2 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1362, allocations: 21.64 kB / 354.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1364, allocations: 314.8 kB / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.1364, allocations: 8 kB / 354.5 MB, free: 420 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.1364, allocations: 27.61 kB / 354.5 MB, free: 380 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.1365, allocations: 39.38 kB / 354.6 MB, free: 328 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1365, allocations: 0 / 354.6 MB, free: 328 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.87e-05/0.1366, allocations: 57.62 kB / 354.6 MB, free: 264 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1366, allocations: 7.938 kB / 354.6 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1366, allocations: 12.11 kB / 354.7 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1366, allocations: 0 / 354.7 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.1367, allocations: 8 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1367, allocations: 3.938 kB / 354.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.1367, allocations: 0 / 354.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1368, allocations: 11.94 kB / 354.7 MB, free: 220 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.1369, allocations: 105.8 kB / 354.8 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.137, allocations: 65.61 kB / 354.8 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1371, allocations: 15.91 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1371, allocations: 0 / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1371, allocations: 0 / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1371, allocations: 0 / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1373, allocations: 161.6 kB / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1373, allocations: 0 / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.1373, allocations: 11.98 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1374, allocations: 3.938 kB / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1374, allocations: 0 / 355 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1374, allocations: 4 kB / 355 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1374, allocations: 3.938 kB / 355 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1376, allocations: 85.11 kB / 355.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1377, allocations: 92.95 kB / 355.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1377, allocations: 0 / 355.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.1377, allocations: 3.984 kB / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-06/0.1377, allocations: 384 / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1377, allocations: 4 kB / 355.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.1378, allocations: 87.22 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 8 kB / 355.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.138, allocations: 4 kB / 355.3 MB, free: 15.46 MB / 302.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 0.000123/0.1382, allocations: 103.7 kB / 355.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1383, allocations: 27.92 kB / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1383, allocations: 0 / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.1383, allocations: 0 / 355.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.1386, allocations: 28.17 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1389, allocations: 168.3 kB / 355.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1392, allocations: 0.6807 MB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.1392, allocations: 11.42 kB / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1392, allocations: 0 / 356.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Templates: time 0.002172/0.1414, allocations: 0.5935 MB / 356.9 MB, free: 13.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches