Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001206/0.001206, allocations: 105.1 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.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.001321/0.001321, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 47.92 kB / 378.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2314, allocations: 53.35 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00251/0.2339, allocations: 1.475 MB / 433.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.234, allocations: 23.94 kB / 433.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.2341, allocations: 7.938 kB / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.2341, allocations: 3.984 kB / 433.4 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.2342, allocations: 7.922 kB / 433.4 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.2344, allocations: 23.98 kB / 433.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.765e-05/0.2345, allocations: 31.86 kB / 433.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.2345, allocations: 11.98 kB / 433.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.2346, allocations: 11.94 kB / 433.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.2346, allocations: 15.92 kB / 433.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2346, allocations: 4 kB / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.2346, allocations: 0 / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.2346, allocations: 4 kB / 433.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.2347, allocations: 15.92 kB / 433.5 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.596e-05/0.2348, allocations: 37.94 kB / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2348, allocations: 0 / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2348, allocations: 0 / 433.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.2348, allocations: 0 / 433.5 MB, free: 4.973 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.0003727/0.2351, allocations: 270.2 kB / 433.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2352, allocations: 12.03 kB / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.357e-05/0.2352, allocations: 192 / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.2352, allocations: 34.75 kB / 433.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.381e-05/0.2353, allocations: 8.891 kB / 433.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2354, allocations: 126.5 kB / 434 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2354, allocations: 384 / 434 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2354, allocations: 4.375 kB / 434 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.2358, allocations: 127.5 kB / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2358, allocations: 0 / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2358, allocations: 0 / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2358, allocations: 4 kB / 434.1 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2359, allocations: 23.97 kB / 434.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.236, allocations: 128.7 kB / 434.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.2362, allocations: 58.59 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.2363, allocations: 28.86 kB / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.2363, allocations: 0 / 434.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.2363, allocations: 42.44 kB / 434.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.2363, allocations: 0 / 434.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.2366, allocations: 77.66 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2366, allocations: 51.41 kB / 434.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.986e-05/0.2367, allocations: 109.8 kB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2367, allocations: 29.7 kB / 434.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.2368, allocations: 84.14 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.2368, allocations: 7.938 kB / 434.7 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.2368, allocations: 17.72 kB / 434.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2369, allocations: 318.8 kB / 435.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.2369, allocations: 4 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.237, allocations: 31.38 kB / 435.1 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.237, allocations: 35.44 kB / 435.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.237, allocations: 7.875 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.272e-05/0.2371, allocations: 61.58 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2371, allocations: 11.94 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2371, allocations: 0 / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2371, allocations: 0 / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.2372, allocations: 12.36 kB / 435.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2372, allocations: 4 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.2372, allocations: 4 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2372, allocations: 8 kB / 435.2 MB, free: 3.039 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.115e-05/0.2373, allocations: 113.9 kB / 435.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.2374, allocations: 69.61 kB / 435.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.2375, allocations: 4 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2375, allocations: 0 / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2375, allocations: 3.984 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2375, allocations: 4 kB / 435.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.2376, allocations: 124.7 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2376, allocations: 3.984 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.2376, allocations: 8 kB / 435.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2376, allocations: 3.938 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2376, allocations: 0 / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2376, allocations: 4 kB / 435.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2376, allocations: 0 / 435.6 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.2378, allocations: 101 kB / 435.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.2378, allocations: 7.891 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2378, allocations: 0 / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/0.2379, allocations: 4 kB / 435.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-06/0.2379, allocations: 0 / 435.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2379, allocations: 3.984 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.2379, allocations: 87.28 kB / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2379, allocations: 0 / 435.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001769/0.2381, allocations: 4 kB / 435.8 MB, free: 2.418 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005338/0.2386, allocations: 0.6517 MB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.2388, allocations: 31.95 kB / 436.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.2388, allocations: 0 / 436.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2388, allocations: 7.938 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.239, allocations: 23.92 kB / 436.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.24, allocations: 1.178 MB / 437.7 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.24, allocations: 75.33 kB / 437.7 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.2401, allocations: 0 / 437.7 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.2401, allocations: 15.44 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2401, allocations: 0 / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.26, allocations: 1.568 MB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.82, allocations: 4 kB / 439.3 MB, free: 14.88 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.15955491992645]