Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001773/0.001773, 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.002304/0.002304, allocations: 211.8 kB / 23.73 MB, free: 4.164 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 55.91 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2472, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002808/0.25, allocations: 1.534 MB / 432.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.2504, allocations: 135.5 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2504, allocations: 3.938 kB / 432.8 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.2505, allocations: 11.92 kB / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2506, allocations: 3.938 kB / 432.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.2508, allocations: 39.84 kB / 432.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.896e-05/0.2509, allocations: 43.84 kB / 432.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.251, allocations: 11.8 kB / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.251, allocations: 11.92 kB / 432.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.251, allocations: 15.92 kB / 432.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.2511, allocations: 4 kB / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.2511, allocations: 0 / 432.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.2511, allocations: 15.92 kB / 433 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.2511, allocations: 15.88 kB / 433 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2513, allocations: 43.81 kB / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2513, allocations: 0 / 433 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.2513, allocations: 4 kB / 433 MB, free: 4.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2513, allocations: 4 kB / 433 MB, free: 4.555 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.0004109/0.2517, allocations: 287.9 kB / 433.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2517, allocations: 15.98 kB / 433.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.2518, allocations: 34.69 kB / 433.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2518, allocations: 12.88 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.252, allocations: 130.5 kB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.252, allocations: 384 / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.252, allocations: 8.375 kB / 433.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.2523, allocations: 113.6 kB / 433.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2523, allocations: 7.875 kB / 433.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.2523, allocations: 0 / 433.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2523, allocations: 3.938 kB / 433.6 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.2524, allocations: 12 kB / 433.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2527, allocations: 232.8 kB / 433.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2528, allocations: 61.08 kB / 433.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.2529, allocations: 29.77 kB / 433.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.2529, allocations: 4 kB / 434 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2529, allocations: 30.56 kB / 434 MB, free: 3.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2529, allocations: 0 / 434 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002279/0.2531, allocations: 73.56 kB / 434.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.2532, allocations: 81.05 kB / 434.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.2533, allocations: 137.1 kB / 434.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2533, allocations: 25.7 kB / 434.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.2534, allocations: 84.14 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.2534, allocations: 8.062 kB / 434.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.2535, allocations: 29.66 kB / 434.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2536, allocations: 314.8 kB / 434.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.2536, allocations: 7.984 kB / 434.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.441e-05/0.2537, allocations: 35.61 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.072e-05/0.2538, allocations: 43.36 kB / 434.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2538, allocations: 3.938 kB / 434.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.2539, allocations: 65.62 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2539, allocations: 6.812 kB / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2539, allocations: 0 / 434.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2539, allocations: 4 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.306e-05/0.2539, allocations: 3.938 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2539, allocations: 0 / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.254, allocations: 4 kB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.254, allocations: 0 / 434.9 MB, free: 2.438 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 0.000108/0.2541, allocations: 130.8 kB / 435 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.2541, allocations: 49.64 kB / 435.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.2542, allocations: 8 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2542, allocations: 4 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2542, allocations: 0 / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2542, allocations: 0 / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.2543, allocations: 140.6 kB / 435.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2543, allocations: 0 / 435.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.2544, allocations: 11.92 kB / 435.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2544, allocations: 0 / 435.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2544, allocations: 0 / 435.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2544, allocations: 4 kB / 435.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.2544, allocations: 4 kB / 435.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2545, allocations: 160.3 kB / 435.4 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.2546, allocations: 15.94 kB / 435.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.2546, allocations: 4 kB / 435.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.2546, allocations: 0 / 435.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.2547, allocations: 0 / 435.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.2547, allocations: 4 kB / 435.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.2547, allocations: 103.2 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2547, allocations: 0 / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.2549, allocations: 8 kB / 435.5 MB, free: 1.719 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.0004772/0.2554, allocations: 0.7014 MB / 436.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2555, allocations: 27.92 kB / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2555, allocations: 0 / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.2556, allocations: 7.938 kB / 436.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2559, allocations: 20.02 kB / 436.3 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2571, allocations: 1.303 MB / 437.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.2572, allocations: 75.33 kB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.2572, allocations: 4 kB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.2573, allocations: 19.38 kB / 437.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2573, allocations: 0 / 437.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.2853, allocations: 2.01 MB / 439.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.22, allocations: 3.438 kB / 439.7 MB, free: 13.52 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_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_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,assignClock.u,assignClock.y [Calling sys.exit(0), Time elapsed: 13.888691070023924]