Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8989/0.8989, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.78e-05, allocations: 2.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00218/0.002207, allocations: 1.513 MB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.002847, allocations: 442.8 kB / 326.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.002912, allocations: 8 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.002942, allocations: 3.938 kB / 326.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.003008, allocations: 11.86 kB / 326.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.003283, allocations: 35.27 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.003402, allocations: 43.8 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.653e-05/0.003498, allocations: 8 kB / 326.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.003642, allocations: 39.89 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.003693, allocations: 7.938 kB / 326.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003709, allocations: 4 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.00375, allocations: 7.938 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.003767, allocations: 11.98 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.003797, allocations: 8 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.00392, allocations: 43.88 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003923, allocations: 0 / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.003926, allocations: 0 / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.00393, allocations: 0 / 326.7 MB, free: 13.69 MB / 298.7 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.0004271/0.004357, allocations: 274.2 kB / 327 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.004408, allocations: 11.98 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.004441, allocations: 34.75 kB / 327 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.004564, allocations: 12.92 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.004809, allocations: 133.6 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.004819, allocations: 4.375 kB / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.004828, allocations: 384 / 327.2 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.005108, allocations: 119.8 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005117, allocations: 192 / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005128, allocations: 4.125 kB / 327.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005134, allocations: 4 kB / 327.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.001e-05/0.005194, allocations: 27.86 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.005316, allocations: 128.7 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.00543, allocations: 54.55 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.005471, allocations: 32.86 kB / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.005492, allocations: 0 / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.005511, allocations: 30.56 kB / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.005512, allocations: 0 / 327.6 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001731/0.005685, allocations: 81.55 kB / 327.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.005727, allocations: 63.39 kB / 327.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.005789, allocations: 105.8 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005799, allocations: 29.7 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.00583, allocations: 84.14 kB / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.005833, allocations: 0 / 327.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.005851, allocations: 9.719 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.005923, allocations: 314.8 kB / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.005927, allocations: 0 / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-06/0.005931, allocations: 0 / 328.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.018e-05/0.005951, allocations: 79.28 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.005969, allocations: 79.28 kB / 328.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.949e-05/0.006009, allocations: 45.58 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.006037, allocations: 79.28 kB / 328.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.006055, allocations: 79.28 kB / 328.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-05/0.006099, allocations: 162.5 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.579e-05/0.006114, allocations: 75.28 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/0.006146, allocations: 154.6 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.00619, allocations: 79.22 kB / 329 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.006213, allocations: 79.27 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 6.757e-05/0.00628, allocations: 193.1 kB / 329.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.006378, allocations: 65.8 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.006402, allocations: 7.984 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006404, allocations: 3.938 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.006409, allocations: 4 kB / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006412, allocations: 0 / 329.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.77e-05/0.006469, allocations: 124.8 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.006474, allocations: 0 / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.006545, allocations: 12.31 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006548, allocations: 0 / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006555, allocations: 11.98 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.006559, allocations: 3.938 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.00656, allocations: 3.938 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.118e-05/0.006651, allocations: 89.06 kB / 329.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.006674, allocations: 7.938 kB / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.006685, allocations: 0 / 329.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.006699, allocations: 3.938 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-06/0.006702, allocations: 0 / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.006708, allocations: 4 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002068/0.006915, allocations: 91.27 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006915, allocations: 4 kB / 329.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.007061, allocations: 0 / 329.7 MB, free: 10.37 MB / 298.7 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.0003211/0.007382, allocations: 0.6203 MB / 330.4 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.007456, allocations: 19.92 kB / 330.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007459, allocations: 0 / 330.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.007459, allocations: 0 / 330.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.007681, allocations: 27.95 kB / 330.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.008442, allocations: 1.398 MB / 331.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.00848, allocations: 67.34 kB / 331.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.266e-05/0.008493, allocations: 0 / 331.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.008529, allocations: 16.48 kB / 331.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008529, allocations: 0 / 331.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.02173, allocations: 1.922 MB / 333.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.471/6.493, allocations: 10.69 kB / 333.8 MB, free: 6.258 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.187155694700778]