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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 189.6 kB / 24.49 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 47.92 kB / 371.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002734/0.2549, allocations: 1.494 MB / 424.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006982/0.2556, allocations: 395.1 kB / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.2557, allocations: 0 / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.2557, allocations: 3.938 kB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.2558, allocations: 3.938 kB / 425.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2561, allocations: 35.89 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2562, allocations: 43.8 kB / 425.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.2563, allocations: 15.97 kB / 425.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.2563, allocations: 11.98 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.2564, allocations: 19.88 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2564, allocations: 4 kB / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.2564, allocations: 0 / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2564, allocations: 11.98 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.2565, allocations: 15.88 kB / 425.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.2566, allocations: 39.53 kB / 425.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2566, allocations: 3.938 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2566, allocations: 0 / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2566, allocations: 4 kB / 425.5 MB, free: 12.3 MB / 334.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.0004423/0.257, allocations: 271.4 kB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2571, allocations: 8.031 kB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.242e-05/0.2571, allocations: 4.188 kB / 425.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.2571, allocations: 38.75 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.2572, allocations: 4.891 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.2574, allocations: 122.4 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2574, allocations: 4.375 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2574, allocations: 4.375 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.2577, allocations: 123.2 kB / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2577, allocations: 0 / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2577, allocations: 4 kB / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2577, allocations: 3.938 kB / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.2578, allocations: 19.98 kB / 426 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.258, allocations: 124.8 kB / 426.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2581, allocations: 54.55 kB / 426.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.2582, allocations: 24.92 kB / 426.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.2582, allocations: 15.88 kB / 426.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.2582, allocations: 34.5 kB / 426.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2582, allocations: 0 / 426.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002387/0.2585, allocations: 73.62 kB / 426.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2585, allocations: 55.41 kB / 426.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.2586, allocations: 109.8 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2586, allocations: 25.7 kB / 426.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.2587, allocations: 92.12 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.384e-06/0.2587, allocations: 3.938 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2587, allocations: 21.72 kB / 426.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2589, allocations: 310.8 kB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/0.2589, allocations: 7.984 kB / 427 MB, free: 10.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.2589, allocations: 27.44 kB / 427 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.2589, allocations: 35.38 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2589, allocations: 0 / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.398e-05/0.259, allocations: 61.62 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.259, allocations: 4 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2591, allocations: 4 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2591, allocations: 0 / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.2591, allocations: 4 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2591, allocations: 4 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.2591, allocations: 7.922 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.2591, allocations: 4 kB / 427.1 MB, free: 10.4 MB / 334.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 8.023e-05/0.2592, allocations: 109.8 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.2594, allocations: 73.91 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.2594, allocations: 11.98 kB / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2594, allocations: 0 / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2594, allocations: 384 / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2594, allocations: 0 / 427.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.2595, allocations: 128.8 kB / 427.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2595, allocations: 3.938 kB / 427.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.2596, allocations: 11.94 kB / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2596, allocations: 0 / 427.5 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2596, allocations: 11.98 kB / 427.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2596, allocations: 0 / 427.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2596, allocations: 7.938 kB / 427.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2597, allocations: 89 kB / 427.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.2597, allocations: 11.88 kB / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2598, allocations: 0 / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.2598, allocations: 4 kB / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-06/0.2598, allocations: 0 / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2598, allocations: 4 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.986e-05/0.2599, allocations: 87.27 kB / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2599, allocations: 0 / 427.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000187/0.26, allocations: 8 kB / 427.7 MB, free: 9.766 MB / 334.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.0004737/0.2605, allocations: 0.6312 MB / 428.3 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.2606, allocations: 27.92 kB / 428.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2606, allocations: 0 / 428.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-06/0.2606, allocations: 3.984 kB / 428.3 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2609, allocations: 23.98 kB / 428.4 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2619, allocations: 1.193 MB / 429.6 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.262, allocations: 75.14 kB / 429.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.19e-05/0.262, allocations: 0 / 429.6 MB, free: 7.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.2621, allocations: 15.42 kB / 429.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2621, allocations: 0 / 429.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2827, allocations: 1.494 MB / 431.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.73, allocations: 8 kB / 431.2 MB, free: 6.301 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.09936612995807]