Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.001337/0.001337, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001372/0.001372, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 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 1.334/1.334, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 370.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2467, allocations: 52.18 MB / 422.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003624/0.2503, allocations: 1.857 MB / 424.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2523, allocations: 1.095 MB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.2525, allocations: 3.938 kB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.2529, allocations: 67.67 kB / 425.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.2532, allocations: 91.59 kB / 425.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.2542, allocations: 269.4 kB / 425.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.2545, allocations: 167.5 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2546, allocations: 21.73 kB / 426.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2547, allocations: 87.62 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2549, allocations: 75.67 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2549, allocations: 8 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.2551, allocations: 71.94 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.2552, allocations: 47.78 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.898e-05/0.2553, allocations: 59.59 kB / 426.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.2557, allocations: 243.4 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2557, allocations: 0 / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2557, allocations: 0 / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2558, allocations: 0 / 426.7 MB, free: 10.3 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008211/0.2566, allocations: 474.5 kB / 427.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2566, allocations: 12.03 kB / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.2567, allocations: 34.75 kB / 427.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.2567, allocations: 28.78 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.2571, allocations: 225.5 kB / 427.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2572, allocations: 12.36 kB / 427.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.2572, allocations: 11.94 kB / 427.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.2575, allocations: 176.4 kB / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2575, allocations: 0 / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2575, allocations: 0 / 427.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2576, allocations: 4 kB / 427.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2577, allocations: 43.89 kB / 427.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.2582, allocations: 349.5 kB / 428 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.2584, allocations: 111.9 kB / 428.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.2585, allocations: 46.55 kB / 428.2 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.2586, allocations: 4 kB / 428.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.2588, allocations: 79.33 kB / 428.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2588, allocations: 0 / 428.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004029/0.2592, allocations: 161.4 kB / 428.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2593, allocations: 140.4 kB / 428.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.2596, allocations: 333.8 kB / 428.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2596, allocations: 29.95 kB / 428.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.2597, allocations: 124.1 kB / 429 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2598, allocations: 19.89 kB / 429.1 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.2598, allocations: 29.67 kB / 429.1 MB, free: 7.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.26, allocations: 334.8 kB / 429.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.2601, allocations: 27.98 kB / 429.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2602, allocations: 129.4 kB / 429.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2604, allocations: 88.25 kB / 429.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2604, allocations: 0 / 429.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.2606, allocations: 125.7 kB / 429.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2606, allocations: 7.984 kB / 429.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2606, allocations: 8.062 kB / 429.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2606, allocations: 0 / 429.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2607, allocations: 16 kB / 429.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2607, allocations: 3.938 kB / 429.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.2608, allocations: 19.81 kB / 429.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2608, allocations: 8.125 kB / 429.8 MB, free: 6.828 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001368/0.261, allocations: 149.8 kB / 430 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.2611, allocations: 69.48 kB / 430.1 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.2613, allocations: 131.4 kB / 430.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2613, allocations: 4 kB / 430.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2613, allocations: 0 / 430.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.2614, allocations: 7.875 kB / 430.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2616, allocations: 192.7 kB / 430.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2616, allocations: 8.062 kB / 430.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.2616, allocations: 11.94 kB / 430.4 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2616, allocations: 4 kB / 430.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2616, allocations: 3.984 kB / 430.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2616, allocations: 0 / 430.4 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2616, allocations: 4 kB / 430.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2619, allocations: 174.5 kB / 430.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.262, allocations: 39.78 kB / 430.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.262, allocations: 7.984 kB / 430.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.2621, allocations: 0 / 430.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.2622, allocations: 20.02 kB / 430.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2622, allocations: 7.938 kB / 430.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002403/0.2624, allocations: 241.2 kB / 430.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2624, allocations: 0 / 430.9 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.2627, allocations: 35.98 kB / 430.9 MB, free: 5.645 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002007/0.2647, allocations: 1.052 MB / 432 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.2649, allocations: 75.97 kB / 432.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2649, allocations: 0 / 432.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.265, allocations: 31.98 kB / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2654, allocations: 76.42 kB / 432.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.2679, allocations: 2.213 MB / 434.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.268, allocations: 128.2 kB / 434.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.291e-05/0.2681, allocations: 33.62 kB / 434.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2682, allocations: 59.41 kB / 434.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2682, allocations: 0 / 434.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.3019, allocations: 5.952 MB / 440.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.84, allocations: 6.609 kB / 440.6 MB, free: 12.13 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --stepSize=3.95804e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.135365136899054]