Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 51.94 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09425, allocations: 53.34 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003091/0.09734, allocations: 1.49 MB / 427.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.09832, allocations: 490.7 kB / 428.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.0984, allocations: 0 / 428.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.09843, allocations: 3.938 kB / 428.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.0985, allocations: 7.938 kB / 428.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.09879, allocations: 31.89 kB / 428.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.0989, allocations: 43.8 kB / 428.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.099, allocations: 12 kB / 428.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.09914, allocations: 23.91 kB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.0992, allocations: 15.92 kB / 428.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.09922, allocations: 4 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.018e-05/0.09926, allocations: 8 kB / 428.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.09927, allocations: 4 kB / 428.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.09932, allocations: 27.84 kB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.09944, allocations: 39.72 kB / 428.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.09945, allocations: 3.984 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.09945, allocations: 0 / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.09946, allocations: 4 kB / 428.5 MB, free: 2.586 MB / 350.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.0005123/0.09997, allocations: 355.2 kB / 428.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1, allocations: 8.031 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1001, allocations: 34.73 kB / 428.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1002, allocations: 12.94 kB / 428.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1005, allocations: 180.3 kB / 429.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.1005, allocations: 4.359 kB / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1005, allocations: 4.375 kB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1008, allocations: 119.4 kB / 429.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1008, allocations: 3.984 kB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1008, allocations: 4 kB / 429.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1008, allocations: 4 kB / 429.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1009, allocations: 15.98 kB / 429.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1011, allocations: 165.6 kB / 429.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.1013, allocations: 50.55 kB / 429.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.1014, allocations: 32.86 kB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1014, allocations: 0 / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.1014, allocations: 42.5 kB / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1014, allocations: 0 / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002873/0.1017, allocations: 73.66 kB / 429.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1018, allocations: 55.41 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.1019, allocations: 109.8 kB / 429.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1019, allocations: 33.64 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.1019, allocations: 84.14 kB / 429.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.1019, allocations: 0 / 429.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.102, allocations: 21.7 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1021, allocations: 314.8 kB / 430.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.1021, allocations: 4 kB / 430.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.1022, allocations: 31.44 kB / 430.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.1022, allocations: 39.73 kB / 430.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1022, allocations: 7.938 kB / 430.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.559e-05/0.1023, allocations: 57.53 kB / 430.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1023, allocations: 7.984 kB / 430.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1023, allocations: 3.938 kB / 430.4 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1023, allocations: 4 kB / 430.4 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.1024, allocations: 4 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1024, allocations: 8.062 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.1024, allocations: 7.938 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1024, allocations: 3.984 kB / 430.4 MB, free: 468 kB / 350.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 9.509e-05/0.1025, allocations: 113.8 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.1027, allocations: 61.61 kB / 430.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1027, allocations: 8.234 kB / 430.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1027, allocations: 0 / 430.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1027, allocations: 4 kB / 430.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1027, allocations: 7.984 kB / 430.6 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1028, allocations: 161.6 kB / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1028, allocations: 0 / 430.7 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.1029, allocations: 15.92 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1029, allocations: 0 / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1029, allocations: 3.938 kB / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1029, allocations: 0 / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1029, allocations: 0 / 430.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.1031, allocations: 97.12 kB / 430.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.1032, allocations: 85 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1032, allocations: 0 / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.1032, allocations: 7.984 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-06/0.1032, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1033, allocations: 0 / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.1033, allocations: 87.28 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1033, allocations: 0 / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.1035, allocations: 8 kB / 431 MB, free: 15.7 MB / 366.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.0005154/0.104, allocations: 0.628 MB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.1041, allocations: 27.92 kB / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1042, allocations: 0 / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.1042, allocations: 288 / 431.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1044, allocations: 34.2 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1056, allocations: 1.19 MB / 432.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1059, allocations: 0.6847 MB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.106, allocations: 3.984 kB / 433.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.106, allocations: 19.38 kB / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.106, allocations: 0 / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1302, allocations: 1.326 MB / 435 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/7.714, allocations: 3.938 kB / 435 MB, free: 11.74 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.170868003973737]