Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 209.7 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 51.86 kB / 377.7 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.249, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002331/0.2513, allocations: 0.8738 MB / 431.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.2517, allocations: 111.5 kB / 432.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.995e-05/0.2517, allocations: 0 / 432.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.2518, allocations: 3.938 kB / 432.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.2519, allocations: 15.92 kB / 432.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2522, allocations: 31.91 kB / 432.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2523, allocations: 47.84 kB / 432.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2524, allocations: 19.98 kB / 432.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.2524, allocations: 15.92 kB / 432.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.2525, allocations: 19.86 kB / 432.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.2525, allocations: 4 kB / 432.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.2525, allocations: 4 kB / 432.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.2525, allocations: 15.92 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2526, allocations: 15.88 kB / 432.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2527, allocations: 63.53 kB / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2527, allocations: 0 / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2527, allocations: 0 / 432.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.2527, allocations: 4 kB / 432.3 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.0004206/0.2531, allocations: 294.6 kB / 432.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2532, allocations: 8.031 kB / 432.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.2532, allocations: 38.75 kB / 432.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.2533, allocations: 8.891 kB / 432.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2535, allocations: 137 kB / 432.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2535, allocations: 8.375 kB / 432.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2535, allocations: 8.375 kB / 432.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.2538, allocations: 135.7 kB / 432.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2538, allocations: 3.938 kB / 432.9 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2538, allocations: 4 kB / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2538, allocations: 0 / 432.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.2539, allocations: 15.98 kB / 433 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.254, allocations: 136.7 kB / 433.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.2541, allocations: 70.69 kB / 433.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.2542, allocations: 28.86 kB / 433.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2542, allocations: 4 kB / 433.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2542, allocations: 34.55 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.2542, allocations: 4 kB / 433.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001888/0.2544, allocations: 89.52 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.2545, allocations: 59.41 kB / 433.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2546, allocations: 129.8 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2546, allocations: 25.7 kB / 433.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2547, allocations: 88.08 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2547, allocations: 11.94 kB / 433.6 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.2547, allocations: 29.72 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2548, allocations: 314.8 kB / 434 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.2549, allocations: 16 kB / 434 MB, free: 3.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.2549, allocations: 54.86 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.255, allocations: 70.75 kB / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.255, allocations: 0 / 434.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001222/0.2551, allocations: 93.45 kB / 434.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2551, allocations: 15.92 kB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2551, allocations: 0 / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2552, allocations: 4 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.655e-05/0.2552, allocations: 4 kB / 434.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2552, allocations: 3.938 kB / 434.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.2552, allocations: 8.188 kB / 434.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2552, allocations: 8 kB / 434.2 MB, free: 3.27 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.523e-05/0.2553, allocations: 129.8 kB / 434.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.2554, allocations: 77.56 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.2554, allocations: 16.36 kB / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2554, allocations: 0 / 434.5 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2555, allocations: 3.938 kB / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2555, allocations: 0 / 434.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.2556, allocations: 132.8 kB / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2556, allocations: 0 / 434.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.2556, allocations: 7.984 kB / 434.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2556, allocations: 11.88 kB / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2556, allocations: 0 / 434.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.2556, allocations: 8 kB / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2556, allocations: 0 / 434.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2557, allocations: 93.08 kB / 434.7 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2557, allocations: 15.94 kB / 434.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2558, allocations: 3.938 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.2558, allocations: 8 kB / 434.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.2558, allocations: 0 / 434.7 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2558, allocations: 3.938 kB / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.2559, allocations: 106.4 kB / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2559, allocations: 192 / 434.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.256, allocations: 8 kB / 434.9 MB, free: 2.578 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.000461/0.2565, allocations: 0.6636 MB / 435.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2566, allocations: 47.92 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2566, allocations: 0 / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2566, allocations: 0.5625 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.2569, allocations: 50 kB / 435.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.258, allocations: 1.321 MB / 436.9 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.094e-05/0.2581, allocations: 83.33 kB / 437 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.66e-05/0.2581, allocations: 3.953 kB / 437 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2581, allocations: 19.42 kB / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2581, allocations: 0 / 437 MB, free: 224 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2853, allocations: 2.277 MB / 439.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.58, allocations: 7.516 kB / 439.3 MB, free: 14.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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: 12.891825848986628]