Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001756/0.001756, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.504/1.504, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 75.88 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2659, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003073/0.269, allocations: 1.518 MB / 432.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004197/0.2694, allocations: 123.6 kB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.2695, allocations: 3.938 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.2695, allocations: 7.922 kB / 432.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2697, allocations: 7.938 kB / 432.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2699, allocations: 35.91 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.27, allocations: 31.86 kB / 432.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2701, allocations: 11.78 kB / 432.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2702, allocations: 8 kB / 432.9 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.2702, allocations: 11.86 kB / 432.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2702, allocations: 8 kB / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.2702, allocations: 0 / 432.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.2703, allocations: 11.98 kB / 432.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.2703, allocations: 15.88 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2704, allocations: 35.83 kB / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2704, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.2704, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2704, allocations: 0 / 433 MB, free: 4.641 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.0004903/0.2709, allocations: 284 kB / 433.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.271, allocations: 19.92 kB / 433.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.271, allocations: 42.69 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.2711, allocations: 8.891 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.2713, allocations: 133.2 kB / 433.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2713, allocations: 12.38 kB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2713, allocations: 384 / 433.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.2716, allocations: 85.61 kB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2716, allocations: 3.938 kB / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.2716, allocations: 0 / 433.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2716, allocations: 8 kB / 433.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.2717, allocations: 11.98 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.272, allocations: 232.8 kB / 433.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.2721, allocations: 41.16 kB / 433.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.2721, allocations: 13.78 kB / 433.8 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2721, allocations: 3.984 kB / 433.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2721, allocations: 42.5 kB / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.2721, allocations: 0 / 433.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001937/0.2723, allocations: 61.58 kB / 433.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.2724, allocations: 77.11 kB / 434 MB, free: 3.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2725, allocations: 129.8 kB / 434.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2725, allocations: 29.7 kB / 434.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.2726, allocations: 80.14 kB / 434.3 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.2726, allocations: 3.953 kB / 434.3 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.2726, allocations: 21.7 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2727, allocations: 314.8 kB / 434.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/0.2728, allocations: 4 kB / 434.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.2728, allocations: 25.95 kB / 434.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.2728, allocations: 21.66 kB / 434.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2728, allocations: 3.938 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.168e-05/0.2729, allocations: 45.69 kB / 434.7 MB, free: 2.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2729, allocations: 4 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2729, allocations: 0 / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.273, allocations: 0 / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-05/0.273, allocations: 8.062 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.273, allocations: 4 kB / 434.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.273, allocations: 4 kB / 434.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.273, allocations: 0 / 434.7 MB, free: 2.66 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 8.341e-05/0.2731, allocations: 125.7 kB / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2731, allocations: 41.64 kB / 434.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.2732, allocations: 11.42 kB / 434.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2732, allocations: 3.984 kB / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2732, allocations: 0 / 434.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.2732, allocations: 7.938 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.2733, allocations: 140.7 kB / 435 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2733, allocations: 0 / 435 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.2733, allocations: 0 / 435 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2733, allocations: 0 / 435 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2734, allocations: 4 kB / 435 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2734, allocations: 7.938 kB / 435 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2734, allocations: 0 / 435 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2735, allocations: 152.3 kB / 435.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.2735, allocations: 15.94 kB / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.2736, allocations: 0 / 435.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.2736, allocations: 8.031 kB / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.2736, allocations: 0 / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2736, allocations: 0 / 435.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.2737, allocations: 114 kB / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 435.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.2739, allocations: 4 kB / 435.3 MB, free: 1.957 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.0004963/0.2744, allocations: 0.682 MB / 436 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.2745, allocations: 20.02 kB / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2745, allocations: 0 / 436 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.2746, allocations: 7.938 kB / 436 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2749, allocations: 16.02 kB / 436.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2761, allocations: 1.248 MB / 437.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.901e-05/0.2761, allocations: 63.34 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.2762, allocations: 8.406 kB / 437.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.2762, allocations: 19.36 kB / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2762, allocations: 0 / 437.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3033, allocations: 1.909 MB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.96, allocations: 10.94 kB / 439.3 MB, free: 13.96 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.519356306642294]