Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.002015/0.002015, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002706/0.002706, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 8 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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 43.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.262, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002767/0.2647, allocations: 1.461 MB / 432.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.265, allocations: 103.6 kB / 432.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.2651, allocations: 3.938 kB / 432.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.2651, allocations: 7.922 kB / 432.7 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.655e-05/0.2651, allocations: 3.938 kB / 432.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.2654, allocations: 19.98 kB / 432.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.2654, allocations: 27.92 kB / 432.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.2655, allocations: 7.922 kB / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.2656, allocations: 8 kB / 432.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.2656, allocations: 19.91 kB / 432.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2656, allocations: 4 kB / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.2656, allocations: 0 / 432.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2657, allocations: 11.94 kB / 432.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.2657, allocations: 7.938 kB / 432.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.2658, allocations: 28.89 kB / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2658, allocations: 0 / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2658, allocations: 0 / 432.8 MB, free: 5.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2658, allocations: 0 / 432.8 MB, free: 5.16 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.0003972/0.2662, allocations: 273.7 kB / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2662, allocations: 8.031 kB / 433.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.2662, allocations: 34.75 kB / 433.2 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.2663, allocations: 12.89 kB / 433.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2665, allocations: 118.5 kB / 433.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2665, allocations: 8.375 kB / 433.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.2665, allocations: 384 / 433.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2668, allocations: 107.8 kB / 433.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2668, allocations: 7.938 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.2668, allocations: 0 / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2668, allocations: 4 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.011e-05/0.2669, allocations: 19.92 kB / 433.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.267, allocations: 132.7 kB / 433.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.2672, allocations: 54.58 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.2673, allocations: 20.86 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2673, allocations: 48 / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2673, allocations: 38.55 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.2673, allocations: 0 / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.2675, allocations: 73.55 kB / 433.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.2676, allocations: 55.41 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2677, allocations: 110 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2677, allocations: 25.7 kB / 433.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2678, allocations: 80.14 kB / 434 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.2678, allocations: 8 kB / 434 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.2678, allocations: 13.72 kB / 434 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.268, allocations: 322.8 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.268, allocations: 0 / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.268, allocations: 39.67 kB / 434.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.836e-05/0.2681, allocations: 31.38 kB / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2681, allocations: 0 / 434.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.29e-05/0.2682, allocations: 65.61 kB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2682, allocations: 11.94 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2682, allocations: 0 / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2682, allocations: 0 / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.2682, allocations: 15.98 kB / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2683, allocations: 0 / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.2683, allocations: 0 / 434.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.2683, allocations: 4 kB / 434.5 MB, free: 3.277 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.331e-05/0.2684, allocations: 109.8 kB / 434.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2685, allocations: 65.59 kB / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.2685, allocations: 7.984 kB / 434.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2685, allocations: 4 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2685, allocations: 0 / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2685, allocations: 3.938 kB / 434.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2686, allocations: 124.8 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2686, allocations: 0 / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.2687, allocations: 11.98 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2687, allocations: 3.938 kB / 434.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.2687, allocations: 4 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2687, allocations: 4 kB / 434.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2687, allocations: 0 / 434.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2688, allocations: 85.06 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.2689, allocations: 7.938 kB / 434.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2689, allocations: 3.938 kB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.2689, allocations: 0 / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.2689, allocations: 0 / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2689, allocations: 7.938 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.269, allocations: 95.27 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.269, allocations: 0 / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001933/0.2691, allocations: 4 kB / 435 MB, free: 2.66 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0004839/0.2696, allocations: 0.6202 MB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.2697, allocations: 27.92 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2698, allocations: 0 / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.2698, allocations: 4 kB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.27, allocations: 23.95 kB / 435.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2711, allocations: 1.147 MB / 436.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.2714, allocations: 0.6807 MB / 437.5 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.2714, allocations: 3.984 kB / 437.5 MB, free: 0 / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.2715, allocations: 15.52 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2715, allocations: 0 / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.2998, allocations: 1.355 MB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.17, allocations: 6.438 kB / 438.9 MB, free: 14.76 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.666978541063145]