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.00127/0.00127, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00135/0.00135, allocations: 182.3 kB / 23.7 MB, free: 4.414 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.416/1.416, 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.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.001507/0.001507, allocations: 51.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 52.19 MB / 422.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002703/0.2468, allocations: 1.498 MB / 424.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003417/0.2471, allocations: 127.6 kB / 424.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.2472, allocations: 0 / 424.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.2472, allocations: 3.938 kB / 424.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2473, allocations: 15.92 kB / 424.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.2475, allocations: 35.91 kB / 424.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.2476, allocations: 27.92 kB / 424.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/0.2477, allocations: 7.797 kB / 424.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.2477, allocations: 19.91 kB / 424.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.605e-05/0.2477, allocations: 7.938 kB / 424.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2478, allocations: 7.938 kB / 424.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2478, allocations: 4 kB / 424.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.2478, allocations: 11.98 kB / 424.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.2478, allocations: 11.88 kB / 424.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.2479, allocations: 43.75 kB / 424.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2479, allocations: 0 / 424.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2479, allocations: 0 / 424.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2479, allocations: 0 / 424.4 MB, free: 12.43 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.000375/0.2483, allocations: 287.9 kB / 424.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2483, allocations: 8.031 kB / 424.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.2484, allocations: 38.73 kB / 424.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.2484, allocations: 12.89 kB / 424.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.2486, allocations: 130.4 kB / 424.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2486, allocations: 8.375 kB / 424.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.2486, allocations: 4.312 kB / 424.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2488, allocations: 85.61 kB / 425 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2488, allocations: 7.938 kB / 425 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2488, allocations: 0 / 425 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2489, allocations: 4 kB / 425 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.2489, allocations: 19.92 kB / 425 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.2492, allocations: 220.9 kB / 425.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.712e-05/0.2493, allocations: 49.08 kB / 425.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.2493, allocations: 13.78 kB / 425.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.2493, allocations: 0 / 425.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2494, allocations: 38.56 kB / 425.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2494, allocations: 0 / 425.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001864/0.2495, allocations: 61.77 kB / 425.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.2496, allocations: 81.09 kB / 425.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2497, allocations: 133.8 kB / 425.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2497, allocations: 25.7 kB / 425.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.2498, allocations: 80.14 kB / 425.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.2498, allocations: 0 / 425.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2498, allocations: 21.67 kB / 425.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.25, allocations: 318.8 kB / 426 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.25, allocations: 8 kB / 426 MB, free: 10.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.25, allocations: 17.66 kB / 426 MB, free: 10.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.2501, allocations: 29.83 kB / 426.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2501, allocations: 3.938 kB / 426.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.326e-05/0.2502, allocations: 45.62 kB / 426.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2502, allocations: 4 kB / 426.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2502, allocations: 3.984 kB / 426.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2502, allocations: 4 kB / 426.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.296e-05/0.2502, allocations: 0 / 426.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2502, allocations: 4.062 kB / 426.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.2503, allocations: 0 / 426.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2503, allocations: 8 kB / 426.1 MB, free: 10.45 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.478e-05/0.2504, allocations: 113.8 kB / 426.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.2504, allocations: 45.58 kB / 426.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.2504, allocations: 7.469 kB / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2504, allocations: 0 / 426.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2505, allocations: 11.88 kB / 426.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2505, allocations: 0 / 426.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2506, allocations: 140.7 kB / 426.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2506, allocations: 8.031 kB / 426.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-06/0.2506, allocations: 0 / 426.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2506, allocations: 0 / 426.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.2506, allocations: 4 kB / 426.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2506, allocations: 0 / 426.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2506, allocations: 0 / 426.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.2508, allocations: 156.2 kB / 426.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.2508, allocations: 11.98 kB / 426.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.2508, allocations: 4 kB / 426.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.2509, allocations: 0 / 426.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.2509, allocations: 8.016 kB / 426.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2509, allocations: 4 kB / 426.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.251, allocations: 106.7 kB / 426.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.251, allocations: 0 / 426.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.2512, allocations: 4 kB / 426.7 MB, free: 9.758 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.000452/0.2516, allocations: 0.6859 MB / 427.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.2517, allocations: 23.92 kB / 427.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2518, allocations: 4.156 kB / 427.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.2518, allocations: 4 kB / 427.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2521, allocations: 8.031 kB / 427.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2532, allocations: 1.244 MB / 428.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.2533, allocations: 75.28 kB / 428.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.2533, allocations: 4.125 kB / 428.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.2534, allocations: 19.44 kB / 428.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2534, allocations: 0 / 428.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.2804, allocations: 1.892 MB / 430.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.75, allocations: 0 / 430.7 MB, free: 5.801 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.045533797703683]