Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.001845/0.001845, allocations: 114 kB / 20.43 MB, free: 1.457 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.002297/0.002297, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 8 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.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 59.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2426, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002183/0.2448, allocations: 0.8851 MB / 432.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.2451, allocations: 111.6 kB / 432.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.2451, allocations: 0 / 432.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.2452, allocations: 11.86 kB / 432.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2453, allocations: 11.92 kB / 432.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2455, allocations: 31.91 kB / 432.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2456, allocations: 39.92 kB / 432.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.2457, allocations: 23.97 kB / 432.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.2457, allocations: 19.92 kB / 432.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.2458, allocations: 19.86 kB / 432.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2458, allocations: 4 kB / 432.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.2458, allocations: 4 kB / 432.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.34e-05/0.2458, allocations: 11.94 kB / 432.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.2459, allocations: 27.8 kB / 432.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.246, allocations: 55.53 kB / 432.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.246, allocations: 0 / 432.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.246, allocations: 0 / 432.4 MB, free: 5.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.246, allocations: 0 / 432.4 MB, free: 5.438 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003814/0.2464, allocations: 298.6 kB / 432.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2464, allocations: 12.03 kB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.2464, allocations: 34.75 kB / 432.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.2465, allocations: 8.891 kB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.2467, allocations: 138.3 kB / 432.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.2467, allocations: 384 / 432.9 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.2467, allocations: 8.359 kB / 432.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.247, allocations: 139.8 kB / 433.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.247, allocations: 3.938 kB / 433.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.247, allocations: 0 / 433.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.247, allocations: 0 / 433.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.247, allocations: 23.91 kB / 433.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.2472, allocations: 136.7 kB / 433.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.2473, allocations: 66.72 kB / 433.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.2474, allocations: 40.88 kB / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.2474, allocations: 0 / 433.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2474, allocations: 34.5 kB / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.2474, allocations: 0 / 433.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000175/0.2476, allocations: 93.52 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2477, allocations: 59.41 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2478, allocations: 141.2 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2478, allocations: 25.7 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.2478, allocations: 84.14 kB / 433.7 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.2479, allocations: 7.953 kB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2479, allocations: 29.7 kB / 433.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.248, allocations: 314.8 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.2481, allocations: 11.98 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.459e-05/0.2481, allocations: 58.81 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.2482, allocations: 78.73 kB / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2482, allocations: 0 / 434.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001264/0.2483, allocations: 89.73 kB / 434.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2484, allocations: 11.94 kB / 434.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2484, allocations: 0 / 434.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2484, allocations: 4 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.785e-05/0.2484, allocations: 7.938 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2484, allocations: 3.984 kB / 434.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.524e-05/0.2484, allocations: 7.938 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.2484, allocations: 4 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.097e-05/0.2485, allocations: 125.8 kB / 434.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.2486, allocations: 85.53 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.2487, allocations: 12.38 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.2487, allocations: 0 / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2487, allocations: 0 / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2487, allocations: 0 / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2488, allocations: 140.7 kB / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2488, allocations: 0 / 434.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.2488, allocations: 4 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2488, allocations: 3.938 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2488, allocations: 0 / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2488, allocations: 4 kB / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2488, allocations: 0 / 434.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2489, allocations: 101 kB / 434.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.249, allocations: 15.94 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.249, allocations: 7.938 kB / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.249, allocations: 192 / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-06/0.249, allocations: 0 / 434.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.249, allocations: 15.92 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.922e-05/0.2491, allocations: 103.3 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2491, allocations: 0 / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.2493, allocations: 8 kB / 435 MB, free: 2.562 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004811/0.2498, allocations: 0.6597 MB / 435.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.2499, allocations: 47.98 kB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2499, allocations: 0 / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2499, allocations: 0 / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2501, allocations: 46.86 kB / 435.7 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2513, allocations: 1.332 MB / 437.1 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.2516, allocations: 0.6924 MB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.2517, allocations: 7.938 kB / 437.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.2517, allocations: 15.44 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2517, allocations: 0 / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.2786, allocations: 1.836 MB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.82, allocations: 14.98 kB / 439.6 MB, free: 13.85 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,periodicClock.factor,periodicClock.resolution,previous(unitDelay1.u),assignClock1.u,assignClock1.y [Calling sys.exit(0), Time elapsed: 13.356749601000047]