Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001292/0.001292, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001373/0.001373, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.373/1.373, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 43.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2537, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002831/0.2565, allocations: 1.585 MB / 432.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.2575, allocations: 0.5065 MB / 433.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.2575, allocations: 3.938 kB / 433.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.2576, allocations: 3.938 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.2577, allocations: 15.88 kB / 433.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.258, allocations: 55.81 kB / 433.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2582, allocations: 43.8 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.2582, allocations: 15.97 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.2584, allocations: 35.86 kB / 433.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.2584, allocations: 23.86 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2584, allocations: 4 kB / 433.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.2585, allocations: 4 kB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.2585, allocations: 11.94 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.2586, allocations: 27.84 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2587, allocations: 57.38 kB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2587, allocations: 0 / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2587, allocations: 0 / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2587, allocations: 0 / 433.5 MB, free: 4.246 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004914/0.2592, allocations: 313.9 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2593, allocations: 8.031 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.2593, allocations: 34.75 kB / 433.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.2595, allocations: 16.88 kB / 433.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.2597, allocations: 138.4 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2597, allocations: 4.375 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2597, allocations: 4.375 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.26, allocations: 121.2 kB / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.26, allocations: 0 / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.26, allocations: 0 / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.26, allocations: 0 / 434.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.2601, allocations: 23.92 kB / 434.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.2604, allocations: 240.8 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.2606, allocations: 57.14 kB / 434.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.2607, allocations: 41.75 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.2607, allocations: 3.938 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2607, allocations: 30.56 kB / 434.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2607, allocations: 3.938 kB / 434.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002571/0.261, allocations: 81.56 kB / 434.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.261, allocations: 77.11 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2612, allocations: 148.9 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2612, allocations: 25.7 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.2612, allocations: 84.27 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.2613, allocations: 11.95 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.2613, allocations: 21.7 kB / 434.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2614, allocations: 314.8 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.2615, allocations: 19.92 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.2615, allocations: 31.44 kB / 435.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.2616, allocations: 43.36 kB / 435.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2616, allocations: 4 kB / 435.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/0.2618, allocations: 69.56 kB / 435.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2618, allocations: 8 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2618, allocations: 0 / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2618, allocations: 0 / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.2619, allocations: 11.98 kB / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2619, allocations: 0 / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.2619, allocations: 8.125 kB / 435.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2619, allocations: 8 kB / 435.4 MB, free: 2.027 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 9.662e-05/0.262, allocations: 125.7 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.2621, allocations: 45.66 kB / 435.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.2621, allocations: 12.33 kB / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2621, allocations: 0 / 435.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2621, allocations: 4 kB / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2621, allocations: 0 / 435.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2623, allocations: 144.7 kB / 435.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2623, allocations: 3.984 kB / 435.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.2624, allocations: 8 kB / 435.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2624, allocations: 4 kB / 435.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2624, allocations: 4 kB / 435.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2624, allocations: 4 kB / 435.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2624, allocations: 3.938 kB / 435.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.2626, allocations: 172.2 kB / 436 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2626, allocations: 19.94 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2626, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.2627, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.2627, allocations: 7.984 kB / 436 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2627, allocations: 4 kB / 436 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.455e-05/0.2628, allocations: 103.3 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2628, allocations: 0 / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.263, allocations: 11.94 kB / 436.1 MB, free: 1.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.000495/0.2635, allocations: 0.7096 MB / 436.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.2637, allocations: 31.92 kB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2637, allocations: 4 kB / 436.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.2637, allocations: 12.23 kB / 436.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.264, allocations: 24.05 kB / 436.9 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.2654, allocations: 1.366 MB / 438.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.733e-05/0.2655, allocations: 79.31 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.2655, allocations: 4.062 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.2656, allocations: 19.44 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2656, allocations: 0 / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.2949, allocations: 2.131 MB / 440.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.71, allocations: 21.75 kB / 440.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 12.969885691010859]