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.0008243/0.0008243, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008897/0.0008897, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9035/0.9035, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.2e-05, allocations: 3.125 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002024/0.002046, allocations: 1.513 MB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.002422, allocations: 143.4 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.3e-05/0.002515, allocations: 4 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.203e-05/0.002568, allocations: 3.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.002739, allocations: 3.938 kB / 326.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.003049, allocations: 39.83 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.545e-05/0.003145, allocations: 35.86 kB / 326.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.003239, allocations: 8 kB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.003286, allocations: 19.97 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.003315, allocations: 3.938 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.003339, allocations: 4 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.003349, allocations: 4 kB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.003398, allocations: 7.984 kB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.003421, allocations: 11.94 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003533, allocations: 35.88 kB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003536, allocations: 0 / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.003538, allocations: 0 / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.003543, allocations: 4 kB / 326.3 MB, free: 14.07 MB / 298.7 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.0003797/0.003923, allocations: 290 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.003965, allocations: 15.98 kB / 326.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.003999, allocations: 34.75 kB / 326.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.004028, allocations: 8.891 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.004253, allocations: 118.3 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.004276, allocations: 8.375 kB / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.004284, allocations: 384 / 326.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.004486, allocations: 89.61 kB / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004494, allocations: 192 / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004502, allocations: 384 / 326.9 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.00451, allocations: 8.125 kB / 326.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.004544, allocations: 11.98 kB / 326.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.004822, allocations: 232.8 kB / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.004877, allocations: 37.22 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.004902, allocations: 13.78 kB / 327.2 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.00492, allocations: 11.88 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.004945, allocations: 42.48 kB / 327.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004946, allocations: 3.938 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.000169/0.005115, allocations: 65.56 kB / 327.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.005164, allocations: 77.11 kB / 327.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.005267, allocations: 128.6 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.00528, allocations: 33.7 kB / 327.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.005326, allocations: 80.14 kB / 327.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.005336, allocations: 8.188 kB / 327.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.005368, allocations: 21.72 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.005463, allocations: 314.8 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.005484, allocations: 4 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.005495, allocations: 4 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.005528, allocations: 20.84 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.00553, allocations: 3.938 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.895e-05/0.005579, allocations: 37.64 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.005592, allocations: 8 kB / 328 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005597, allocations: 4.094 kB / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005609, allocations: 0 / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-05/0.005629, allocations: 3.984 kB / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005634, allocations: 0 / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.005647, allocations: 4 kB / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.005652, allocations: 0 / 328.1 MB, free: 12.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6e-05/0.005712, allocations: 113.8 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.005746, allocations: 45.52 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.005772, allocations: 15.42 kB / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005774, allocations: 0 / 328.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.005779, allocations: 8.031 kB / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005781, allocations: 0 / 328.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.005881, allocations: 128.8 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005882, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-06/0.005886, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.005889, allocations: 3.938 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.005896, allocations: 11.98 kB / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005897, allocations: 0 / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005898, allocations: 0 / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.005985, allocations: 148.4 kB / 328.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.006011, allocations: 15.92 kB / 328.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.006022, allocations: 11.88 kB / 328.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.34e-05/0.006055, allocations: 3.984 kB / 328.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.006081, allocations: 4 kB / 328.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006085, allocations: 4 kB / 328.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.006125, allocations: 99.2 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006125, allocations: 0 / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.006263, allocations: 4 kB / 328.7 MB, free: 11.45 MB / 298.7 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.0002823/0.006545, allocations: 0.686 MB / 329.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.006621, allocations: 11.94 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.006623, allocations: 0 / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.006637, allocations: 8 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.006878, allocations: 12.02 kB / 329.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.007688, allocations: 1.227 MB / 330.6 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.00774, allocations: 79.78 kB / 330.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.728e-05/0.007757, allocations: 4 kB / 330.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.007793, allocations: 16.48 kB / 330.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.007794, allocations: 0 / 330.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.02472, allocations: 2.027 MB / 332.7 MB, free: 7.352 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.769, allocations: 3.281 kB / 332.7 MB, free: 7.352 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv: Error: Error opening file: Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,sample1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.53186638187617]