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.00126/0.00126, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001215/0.001216, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 50.64 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.113, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00295/0.116, allocations: 1.483 MB / 353 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007448/0.1168, allocations: 448.3 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.1169, allocations: 0 / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.117, allocations: 7.922 kB / 353.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.117, allocations: 3.938 kB / 353.4 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1173, allocations: 31.91 kB / 353.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.862e-05/0.1174, allocations: 35.8 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1176, allocations: 15.98 kB / 353.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.1177, allocations: 15.92 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.1177, allocations: 15.92 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1178, allocations: 8 kB / 353.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.1178, allocations: 4 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.1178, allocations: 3.984 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1179, allocations: 19.88 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.118, allocations: 43.81 kB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.118, allocations: 3.938 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.118, allocations: 0 / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.118, allocations: 0 / 353.6 MB, free: 1.535 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.0005443/0.1186, allocations: 347.3 kB / 354 MB, free: 1.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1186, allocations: 12.03 kB / 354 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1187, allocations: 12.83 kB / 354 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.119, allocations: 172.3 kB / 354.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.119, allocations: 4.375 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.119, allocations: 4.375 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.1194, allocations: 123.5 kB / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1194, allocations: 0 / 354.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1194, allocations: 4 kB / 354.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1195, allocations: 0 / 354.3 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.1196, allocations: 19.98 kB / 354.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.1198, allocations: 161.6 kB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1199, allocations: 62.59 kB / 354.5 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.12, allocations: 20.89 kB / 354.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.12, allocations: 0 / 354.5 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1201, allocations: 42.42 kB / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1201, allocations: 0 / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002592/0.1203, allocations: 73.67 kB / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1204, allocations: 55.41 kB / 354.7 MB, free: 264 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.1205, allocations: 113.8 kB / 354.8 MB, free: 140 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1205, allocations: 25.7 kB / 354.8 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.1206, allocations: 88.14 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.1206, allocations: 0 / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.1207, allocations: 21.7 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1208, allocations: 314.8 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.1209, allocations: 4 kB / 355.3 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.1209, allocations: 35.55 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.121, allocations: 31.38 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.121, allocations: 0 / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.263e-05/0.1211, allocations: 61.53 kB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1211, allocations: 11.94 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1211, allocations: 3.938 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1211, allocations: 96 / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.1212, allocations: 11.98 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1212, allocations: 0 / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.1212, allocations: 8 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1212, allocations: 0 / 355.4 MB, free: 15.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1213, allocations: 117.8 kB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1215, allocations: 69.61 kB / 355.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.1215, allocations: 7.906 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1215, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1215, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1215, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.1217, allocations: 165.6 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1217, allocations: 4 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.1217, allocations: 7.984 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1217, allocations: 7.938 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1218, allocations: 4 kB / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1218, allocations: 0 / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1218, allocations: 0 / 355.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1219, allocations: 85.05 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.122, allocations: 92.95 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.122, allocations: 3.984 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.419e-05/0.1221, allocations: 4.375 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-06/0.1221, allocations: 0 / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1221, allocations: 4 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.863e-05/0.1222, allocations: 95.2 kB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1222, allocations: 0 / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.1223, allocations: 4 kB / 356.1 MB, free: 14.71 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.000129/0.1225, allocations: 95.78 kB / 356.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1226, allocations: 27.92 kB / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1226, allocations: 256 / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.1226, allocations: 4 kB / 356.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1229, allocations: 23.98 kB / 356.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.1232, allocations: 146.5 kB / 356.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1235, allocations: 0.6807 MB / 357.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.1235, allocations: 7.922 kB / 357.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1235, allocations: 11.44 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1235, allocations: 4 kB / 357.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Templates: time 0.002434/0.126, allocations: 351 kB / 357.4 MB, free: 13.31 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 -s gbode -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