Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001758/0.001758, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001921/0.001921, allocations: 187.9 kB / 23.72 MB, free: 4.684 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.406/1.406, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003009/0.2722, allocations: 1.521 MB / 424.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.2726, allocations: 131.5 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.118e-05/0.2727, allocations: 4 kB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/0.2727, allocations: 7.922 kB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.2729, allocations: 7.922 kB / 424.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.2731, allocations: 31.92 kB / 424.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.2732, allocations: 27.92 kB / 424.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.174e-05/0.2733, allocations: 15.97 kB / 424.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.2733, allocations: 11.94 kB / 424.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.2733, allocations: 11.92 kB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.2734, allocations: 4 kB / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.2734, allocations: 0 / 424.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.2734, allocations: 11.94 kB / 424.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.2734, allocations: 15.88 kB / 424.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2736, allocations: 51.55 kB / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2736, allocations: 0 / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.2736, allocations: 0 / 424.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2736, allocations: 0 / 424.5 MB, free: 12.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004393/0.274, allocations: 290.6 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.274, allocations: 8.031 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2741, allocations: 34.75 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.2741, allocations: 4.891 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2743, allocations: 134.4 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2744, allocations: 384 / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.2744, allocations: 4.375 kB / 424.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.2746, allocations: 93.61 kB / 425 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2746, allocations: 3.938 kB / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.2746, allocations: 0 / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2746, allocations: 0 / 425 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.2747, allocations: 19.92 kB / 425.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.275, allocations: 228.9 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.2751, allocations: 45.09 kB / 425.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.2751, allocations: 17.77 kB / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2752, allocations: 0 / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2752, allocations: 34.56 kB / 425.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2752, allocations: 4 kB / 425.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.2754, allocations: 61.58 kB / 425.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2755, allocations: 77.11 kB / 425.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2756, allocations: 129.3 kB / 425.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2756, allocations: 29.7 kB / 425.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.2757, allocations: 96.3 kB / 425.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.2757, allocations: 4 kB / 425.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.2757, allocations: 17.72 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2759, allocations: 310.8 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.2759, allocations: 4 kB / 426.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-05/0.2759, allocations: 25.64 kB / 426.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.276, allocations: 25.72 kB / 426.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.276, allocations: 3.938 kB / 426.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.2761, allocations: 53.58 kB / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2761, allocations: 4 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2761, allocations: 0 / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2761, allocations: 4 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-05/0.2762, allocations: 4 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.2762, allocations: 3.984 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.2762, allocations: 4.062 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2762, allocations: 4 kB / 426.2 MB, free: 10.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.182e-05/0.2763, allocations: 117.8 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.2763, allocations: 41.59 kB / 426.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.2764, allocations: 15.44 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2764, allocations: 0 / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2764, allocations: 0 / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2764, allocations: 4 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2766, allocations: 140.7 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2766, allocations: 4.031 kB / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-06/0.2766, allocations: 0 / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2766, allocations: 0 / 426.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2766, allocations: 4 kB / 426.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2766, allocations: 0 / 426.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2766, allocations: 0 / 426.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.2768, allocations: 160.2 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.2768, allocations: 11.98 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.2768, allocations: 0 / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.2769, allocations: 0 / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.2769, allocations: 4 kB / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.2769, allocations: 0 / 426.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.277, allocations: 107.2 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.277, allocations: 0 / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.2772, allocations: 0 / 426.8 MB, free: 10.11 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004925/0.2777, allocations: 0.6898 MB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2778, allocations: 15.94 kB / 427.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2778, allocations: 3.938 kB / 427.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.2778, allocations: 16.14 kB / 427.5 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.2781, allocations: 11.06 kB / 427.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2794, allocations: 1.248 MB / 428.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2798, allocations: 0.6923 MB / 429.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.2798, allocations: 4 kB / 429.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2798, allocations: 11.44 kB / 429.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2798, allocations: 0 / 429.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3095, allocations: 1.467 MB / 431 MB, free: 5.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.86, allocations: 0 / 431 MB, free: 5.941 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.255093117011711]