Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001433/0.001433, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 51.91 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2653, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.00283/0.2682, allocations: 1.518 MB / 432.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.2685, allocations: 135.5 kB / 432.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.2686, allocations: 3.938 kB / 432.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.2686, allocations: 3.938 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2688, allocations: 11.92 kB / 432.7 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.269, allocations: 35.91 kB / 432.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.2691, allocations: 35.86 kB / 432.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.2692, allocations: 19.77 kB / 432.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2692, allocations: 11.94 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.068e-05/0.2692, allocations: 15.92 kB / 432.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2692, allocations: 0 / 432.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2693, allocations: 4 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.2693, allocations: 15.92 kB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.2693, allocations: 15.88 kB / 432.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2694, allocations: 43.81 kB / 432.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2694, allocations: 4 kB / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2694, allocations: 0 / 432.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2695, allocations: 3.938 kB / 432.9 MB, free: 4.797 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.0004288/0.2699, allocations: 291.9 kB / 433.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2699, allocations: 11.97 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.27, allocations: 34.75 kB / 433.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.27, allocations: 4.891 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2702, allocations: 134.5 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2702, allocations: 4.375 kB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.2702, allocations: 8.375 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.2705, allocations: 117.5 kB / 433.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2705, allocations: 3.938 kB / 433.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2705, allocations: 8 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2705, allocations: 7.922 kB / 433.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.483e-05/0.2706, allocations: 12 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.2709, allocations: 232.7 kB / 433.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.271, allocations: 65.14 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.2711, allocations: 25.77 kB / 433.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2711, allocations: 0 / 433.9 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2711, allocations: 38.5 kB / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2711, allocations: 0 / 433.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.2713, allocations: 73.56 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2714, allocations: 77.11 kB / 434.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2715, allocations: 132.5 kB / 434.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2715, allocations: 29.83 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.2716, allocations: 88.14 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-06/0.2716, allocations: 0 / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.2716, allocations: 25.66 kB / 434.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2718, allocations: 318.8 kB / 434.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.2718, allocations: 4 kB / 434.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.2719, allocations: 31.42 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.109e-05/0.2719, allocations: 47.36 kB / 434.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2719, allocations: 3.938 kB / 434.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.272, allocations: 57.62 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.272, allocations: 8 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.2721, allocations: 0 / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2721, allocations: 7.875 kB / 434.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.329e-05/0.2721, allocations: 4 kB / 434.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2721, allocations: 3.984 kB / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.2721, allocations: 128 / 434.8 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2721, allocations: 8 kB / 434.8 MB, free: 2.668 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.625e-05/0.2722, allocations: 121.8 kB / 434.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.2723, allocations: 45.66 kB / 435 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.2723, allocations: 15.98 kB / 435 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2723, allocations: 3.938 kB / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2723, allocations: 0 / 435 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2723, allocations: 4 kB / 435 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2725, allocations: 136.7 kB / 435.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2725, allocations: 0 / 435.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.2725, allocations: 0 / 435.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2725, allocations: 8 kB / 435.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.2725, allocations: 3.984 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2725, allocations: 0 / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2725, allocations: 0 / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.2727, allocations: 160.6 kB / 435.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.2727, allocations: 23.92 kB / 435.3 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.2727, allocations: 7.984 kB / 435.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.2728, allocations: 3.938 kB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.2728, allocations: 4 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2728, allocations: 0 / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.2729, allocations: 111.2 kB / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2729, allocations: 0 / 435.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.2731, allocations: 4 kB / 435.5 MB, free: 1.941 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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.000484/0.2736, allocations: 0.6996 MB / 436.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.2737, allocations: 27.92 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2737, allocations: 0 / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.2737, allocations: 4.25 kB / 436.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2741, allocations: 29.89 kB / 436.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2754, allocations: 1.299 MB / 437.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.744e-05/0.2755, allocations: 71.33 kB / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.796e-05/0.2755, allocations: 0 / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.2755, allocations: 15.44 kB / 437.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2755, allocations: 0 / 437.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.3035, allocations: 2.009 MB / 439.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 10.25 kB / 439.6 MB, free: 13.77 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 13.231634548865259]