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.001537/0.001537, allocations: 116.7 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.001874/0.001874, allocations: 212.4 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.372/1.372, allocations: 230.5 MB / 257.4 MB, free: 7.98 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.002977/0.002977, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2651, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002235/0.2673, allocations: 0.8773 MB / 432.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000333/0.2676, allocations: 115.6 kB / 432.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.2677, allocations: 0 / 432.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.2677, allocations: 7.875 kB / 432.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.2679, allocations: 11.92 kB / 432.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.2681, allocations: 31.91 kB / 432.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.2682, allocations: 39.97 kB / 432.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.2683, allocations: 19.92 kB / 432.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.2683, allocations: 11.94 kB / 432.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.2684, allocations: 23.86 kB / 432.3 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2684, allocations: 8 kB / 432.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.199e-05/0.2684, allocations: 4 kB / 432.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.2684, allocations: 19.91 kB / 432.4 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2685, allocations: 23.81 kB / 432.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2686, allocations: 55.53 kB / 432.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2686, allocations: 0 / 432.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2686, allocations: 0 / 432.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.2686, allocations: 0 / 432.4 MB, free: 5.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003918/0.269, allocations: 294.6 kB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.269, allocations: 8.031 kB / 432.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.2691, allocations: 42.73 kB / 432.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.2691, allocations: 8.891 kB / 432.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.2693, allocations: 141.5 kB / 432.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2693, allocations: 4.375 kB / 432.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2693, allocations: 4.375 kB / 432.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2696, allocations: 139.7 kB / 433.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2696, allocations: 7.922 kB / 433.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2696, allocations: 0 / 433.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2696, allocations: 0 / 433.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.2697, allocations: 19.94 kB / 433.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.2698, allocations: 140.7 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.27, allocations: 66.75 kB / 433.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.2701, allocations: 36.84 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2701, allocations: 0 / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2701, allocations: 34.5 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 6.72e-07/0.2701, allocations: 0 / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000191/0.2703, allocations: 97.5 kB / 433.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.2703, allocations: 51.72 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2705, allocations: 133.8 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2705, allocations: 33.7 kB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.2705, allocations: 80.14 kB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.2706, allocations: 11.94 kB / 433.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.2706, allocations: 25.72 kB / 433.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2707, allocations: 322.8 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.2708, allocations: 4 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.2708, allocations: 66.8 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.2709, allocations: 74.75 kB / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2709, allocations: 0 / 434.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001367/0.2711, allocations: 85.5 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2711, allocations: 14.44 kB / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2711, allocations: 256 / 434.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2711, allocations: 8 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.039e-05/0.2711, allocations: 11.94 kB / 434.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2711, allocations: 3.984 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.2712, allocations: 7.938 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.2712, allocations: 4 kB / 434.4 MB, free: 3.246 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.907e-05/0.2713, allocations: 121.8 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.2714, allocations: 77.47 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.2714, allocations: 12.36 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2714, allocations: 8 kB / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2714, allocations: 0 / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2714, allocations: 0 / 434.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.2715, allocations: 136.7 kB / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2715, allocations: 0 / 434.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.2716, allocations: 11.98 kB / 434.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2716, allocations: 3.938 kB / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2716, allocations: 0 / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2716, allocations: 0 / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2716, allocations: 0 / 434.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.2717, allocations: 105 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.2717, allocations: 19.94 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.2718, allocations: 3.938 kB / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.2718, allocations: 8.188 kB / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.2718, allocations: 0 / 434.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2718, allocations: 7.938 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.2719, allocations: 99.06 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2719, allocations: 0 / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.2721, allocations: 12 kB / 435 MB, free: 2.555 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.0005324/0.2726, allocations: 0.6592 MB / 435.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.2727, allocations: 40.42 kB / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2727, allocations: 64 / 435.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2727, allocations: 4 kB / 435.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.273, allocations: 54.61 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2743, allocations: 1.317 MB / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2746, allocations: 0.7002 MB / 437.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.2746, allocations: 3.953 kB / 437.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.2747, allocations: 19.42 kB / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2747, allocations: 0 / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.3025, allocations: 1.84 MB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.87, allocations: 7.922 kB / 439.6 MB, free: 13.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.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_trunk_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: 13.208314117975533]