Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.0008284/0.0008284, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000769/0.000769, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9068/0.9068, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.435e-05, allocations: 6.219 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002598/0.002622, allocations: 1.81 MB / 320.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.003491, allocations: 0.6038 MB / 320.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.00361, allocations: 7.938 kB / 320.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.003739, allocations: 27.67 kB / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.003858, allocations: 23.8 kB / 320.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.004175, allocations: 99.64 kB / 321 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.004337, allocations: 147.5 kB / 321.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.004473, allocations: 41.95 kB / 321.2 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.004589, allocations: 87.67 kB / 321.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.004654, allocations: 31.89 kB / 321.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.00468, allocations: 11.94 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.004697, allocations: 12 kB / 321.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.004757, allocations: 31.91 kB / 321.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.004792, allocations: 35.86 kB / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.004954, allocations: 135.5 kB / 321.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004957, allocations: 0 / 321.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.004959, allocations: 4 kB / 321.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004964, allocations: 7.938 kB / 321.6 MB, free: 3.234 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004631/0.005427, allocations: 377 kB / 321.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.005466, allocations: 8.922 kB / 321.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.005503, allocations: 50.73 kB / 322 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.00554, allocations: 20.8 kB / 322 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.005798, allocations: 183.3 kB / 322.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.005811, allocations: 4.562 kB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.005824, allocations: 12.12 kB / 322.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.006226, allocations: 312 kB / 322.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.006234, allocations: 0 / 322.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.006247, allocations: 12 kB / 322.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.006252, allocations: 0 / 322.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.006382, allocations: 71.88 kB / 322.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.006759, allocations: 378.5 kB / 323 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.007059, allocations: 213 kB / 323.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.007172, allocations: 108.2 kB / 323.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.007193, allocations: 4 kB / 323.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.007218, allocations: 42.48 kB / 323.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.00722, allocations: 0 / 323.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000365/0.007585, allocations: 225.7 kB / 323.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.007669, allocations: 195.9 kB / 323.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00779, allocations: 179.2 kB / 323.9 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007806, allocations: 29.7 kB / 323.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.007855, allocations: 100.1 kB / 324 MB, free: 488 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.007873, allocations: 11.94 kB / 324 MB, free: 476 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.007906, allocations: 17.72 kB / 324.1 MB, free: 452 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.007985, allocations: 318.8 kB / 324.4 MB, free: 124 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.008011, allocations: 11.94 kB / 324.4 MB, free: 112 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.008053, allocations: 64.27 kB / 324.4 MB, free: 32 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.008112, allocations: 29.75 kB / 324.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008114, allocations: 0 / 324.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.746e-05/0.008191, allocations: 69.47 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.008203, allocations: 4 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.008208, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.008223, allocations: 7.938 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.008279, allocations: 8.156 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.008283, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.008315, allocations: 7.984 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.00832, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.683e-05/0.008397, allocations: 121.8 kB / 324.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.008559, allocations: 145.8 kB / 324.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.008594, allocations: 21.45 kB / 324.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.008598, allocations: 7.938 kB / 324.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008602, allocations: 128 / 324.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.008605, allocations: 7.938 kB / 324.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.00879, allocations: 176.6 kB / 325 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008793, allocations: 4 kB / 325 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.008864, allocations: 31.97 kB / 325.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008866, allocations: 4 kB / 325.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.008877, allocations: 8 kB / 325.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.008882, allocations: 11.88 kB / 325.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008882, allocations: 0 / 325.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.009131, allocations: 353.2 kB / 325.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.009186, allocations: 27.89 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.009205, allocations: 4 kB / 325.5 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.009285, allocations: 19.86 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.009312, allocations: 4 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.009318, allocations: 4 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.009394, allocations: 141.1 kB / 325.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009394, allocations: 0 / 325.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000195/0.009589, allocations: 19.94 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.0004539/0.01004, allocations: 0.8859 MB / 326.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.0102, allocations: 66.39 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.0102, allocations: 0 / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.01023, allocations: 19.92 kB / 326.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.0107, allocations: 106.8 kB / 326.7 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.01233, allocations: 1.803 MB / 328.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.035e-05/0.01242, allocations: 118.8 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.597e-05/0.01247, allocations: 8.875 kB / 328.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.01253, allocations: 40.48 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01253, allocations: 0 / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.03061, allocations: 4.022 MB / 332.7 MB, free: 7.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.892, allocations: 11.86 kB / 332.7 MB, free: 7.633 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.600383684039116]