Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 214.9 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2616, allocations: 53.42 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002955/0.2646, allocations: 1.471 MB / 432.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00022/0.2648, allocations: 31.91 kB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.2649, allocations: 4 kB / 432.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2649, allocations: 3.938 kB / 432.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.265, allocations: 3.938 kB / 432.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.2652, allocations: 27.59 kB / 432.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.2653, allocations: 31.86 kB / 432.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2654, allocations: 4 kB / 432.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.2655, allocations: 11.98 kB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.2655, allocations: 15.92 kB / 432.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.2655, allocations: 0 / 432.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2655, allocations: 4 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.2656, allocations: 15.92 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.2656, allocations: 11.94 kB / 432.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.2657, allocations: 28.89 kB / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2657, allocations: 0 / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2657, allocations: 0 / 432.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2657, allocations: 0 / 432.9 MB, free: 5.008 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.0004605/0.2662, allocations: 277.6 kB / 433.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2662, allocations: 11.97 kB / 433.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.2663, allocations: 34.75 kB / 433.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.2663, allocations: 12.81 kB / 433.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.2666, allocations: 122.5 kB / 433.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.2666, allocations: 4.375 kB / 433.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2666, allocations: 4.375 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.267, allocations: 115.8 kB / 433.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.267, allocations: 3.938 kB / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.267, allocations: 0 / 433.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.267, allocations: 8 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2671, allocations: 27.91 kB / 433.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2673, allocations: 124.8 kB / 433.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2675, allocations: 54.55 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.2675, allocations: 24.92 kB / 433.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.2676, allocations: 7.969 kB / 433.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.2676, allocations: 34.56 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2676, allocations: 4 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002821/0.2679, allocations: 85.48 kB / 433.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.2679, allocations: 59.41 kB / 433.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.268, allocations: 105.8 kB / 434 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.268, allocations: 25.7 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2681, allocations: 80.14 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.2681, allocations: 4 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.2681, allocations: 17.72 kB / 434.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2683, allocations: 322.8 kB / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.2683, allocations: 0 / 434.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.2683, allocations: 31.44 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.2684, allocations: 39.38 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2684, allocations: 3.938 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.372e-05/0.2685, allocations: 65.52 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2685, allocations: 11.94 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2685, allocations: 0 / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2685, allocations: 0 / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.2686, allocations: 11.98 kB / 434.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2686, allocations: 4.125 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.2686, allocations: 4 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.2686, allocations: 0 / 434.6 MB, free: 3.078 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.239e-05/0.2687, allocations: 113.8 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.2688, allocations: 69.55 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.2689, allocations: 8 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2689, allocations: 0 / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2689, allocations: 0 / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2689, allocations: 3.938 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.269, allocations: 133.1 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.269, allocations: 8 kB / 434.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.269, allocations: 15.98 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.269, allocations: 3.938 kB / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.269, allocations: 0 / 434.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.269, allocations: 3.984 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.269, allocations: 0 / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.2692, allocations: 85.11 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.2692, allocations: 4 kB / 435 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2693, allocations: 11.92 kB / 435 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.2693, allocations: 11.94 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.2693, allocations: 0 / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2693, allocations: 0 / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.853e-05/0.2693, allocations: 83.27 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2693, allocations: 0 / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.2695, allocations: 8 kB / 435.1 MB, free: 2.441 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.0006153/0.2701, allocations: 0.6436 MB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.2703, allocations: 36.17 kB / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2703, allocations: 0 / 435.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.2703, allocations: 4 kB / 435.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2706, allocations: 22.88 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2718, allocations: 1.193 MB / 437 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.2721, allocations: 0.6768 MB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.2722, allocations: 4 kB / 437.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.2722, allocations: 15.42 kB / 437.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2722, allocations: 4 kB / 437.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.3, allocations: 1.494 MB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.01, allocations: 3.859 kB / 439.2 MB, free: 14.31 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.393828613916412]