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.0009774/0.0009774, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001126/0.001126, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.9554/0.9554, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.543e-06/1.543e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.438e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001859/0.001874, allocations: 1.508 MB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.002472, allocations: 438.8 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.002534, allocations: 4 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.002562, allocations: 3.938 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.165e-05/0.002624, allocations: 11.86 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.002891, allocations: 35.84 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.002987, allocations: 43.86 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.003082, allocations: 4 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.003217, allocations: 39.89 kB / 326.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.003265, allocations: 7.984 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003281, allocations: 4 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.003321, allocations: 11.94 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.003345, allocations: 7.922 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.003389, allocations: 12 kB / 326.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003523, allocations: 43.8 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003525, allocations: 4 kB / 326.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003526, allocations: 4 kB / 326.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.00353, allocations: 0 / 326.8 MB, free: 13.75 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.000391/0.003921, allocations: 277.5 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.003962, allocations: 8.031 kB / 327 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.003993, allocations: 34.73 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.004102, allocations: 8.938 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.004274, allocations: 125.7 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.004284, allocations: 4.375 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.004292, allocations: 384 / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.004546, allocations: 123.8 kB / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004554, allocations: 192 / 327.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004564, allocations: 4.125 kB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.004569, allocations: 0 / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.004626, allocations: 23.97 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.004737, allocations: 128.7 kB / 327.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.00484, allocations: 62.55 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.004883, allocations: 24.92 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.004902, allocations: 0 / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004925, allocations: 42.44 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004926, allocations: 0 / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.005104, allocations: 81.59 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.005144, allocations: 59.34 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.005206, allocations: 105.8 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.005216, allocations: 29.7 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.005249, allocations: 88.14 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.00525, allocations: 0 / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.005266, allocations: 9.719 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.005348, allocations: 322.8 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.005353, allocations: 3.938 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-06/0.005356, allocations: 0 / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.005375, allocations: 75.28 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.005393, allocations: 75.28 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.26e-05/0.005426, allocations: 33.66 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.005453, allocations: 83.28 kB / 328.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.005474, allocations: 83.22 kB / 328.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/0.005521, allocations: 158.6 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.729e-05/0.005538, allocations: 75.28 kB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-05/0.00558, allocations: 166.5 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.005625, allocations: 75.28 kB / 329.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.005645, allocations: 79.22 kB / 329.2 MB, free: 11.12 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 7.348e-05/0.005718, allocations: 185.1 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.005794, allocations: 61.67 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.005821, allocations: 8 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005823, allocations: 7.938 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.005827, allocations: 0 / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.00583, allocations: 4 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.662e-05/0.005887, allocations: 124.8 kB / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.005889, allocations: 0 / 329.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.005953, allocations: 11.98 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.005955, allocations: 0 / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.005961, allocations: 384 / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.005964, allocations: 3.938 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005965, allocations: 0 / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.006052, allocations: 97 kB / 329.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.00607, allocations: 7.938 kB / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.00608, allocations: 0 / 329.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.006097, allocations: 15.86 kB / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.006099, allocations: 0 / 329.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.006104, allocations: 4 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.006135, allocations: 87.28 kB / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006135, allocations: 0 / 329.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.006281, allocations: 0 / 329.8 MB, free: 10.44 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.0002675/0.006548, allocations: 0.6346 MB / 330.4 MB, free: 9.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.063e-05/0.006609, allocations: 15.98 kB / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.00661, allocations: 0 / 330.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.006611, allocations: 4 kB / 330.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.006795, allocations: 19.97 kB / 330.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007704/0.007565, allocations: 1.407 MB / 331.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.377e-05/0.007619, allocations: 71.33 kB / 331.9 MB, free: 8.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.356e-05/0.007632, allocations: 4 kB / 331.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.007669, allocations: 12.5 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.00767, allocations: 0 / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02203, allocations: 1.912 MB / 333.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/6.869, allocations: 11.17 kB / 333.9 MB, free: 6.344 MB / 298.7 MB " [Timeout remaining time 653] (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/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_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: 8.651319866068661]