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.001489/0.001489, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001588/0.001588, allocations: 215.8 kB / 23.75 MB, free: 4.668 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001724/0.001724, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2795, allocations: 53.37 MB / 431.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002562/0.2821, allocations: 0.891 MB / 432 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003914/0.2825, allocations: 115.6 kB / 432.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.2826, allocations: 3.938 kB / 432.1 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.945e-05/0.2826, allocations: 3.938 kB / 432.1 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2828, allocations: 11.92 kB / 432.2 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.283, allocations: 31.91 kB / 432.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2831, allocations: 43.91 kB / 432.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2832, allocations: 19.98 kB / 432.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.2833, allocations: 15.88 kB / 432.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.2833, allocations: 19.92 kB / 432.3 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.2833, allocations: 4 kB / 432.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.2833, allocations: 4 kB / 432.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.2834, allocations: 15.92 kB / 432.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.2834, allocations: 27.8 kB / 432.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2836, allocations: 51.55 kB / 432.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2836, allocations: 0 / 432.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2836, allocations: 0 / 432.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2836, allocations: 0 / 432.4 MB, free: 5.746 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.000427/0.284, allocations: 294.6 kB / 432.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2841, allocations: 16.03 kB / 432.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.2841, allocations: 38.73 kB / 432.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.2841, allocations: 8.891 kB / 432.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.2844, allocations: 138.3 kB / 432.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2844, allocations: 4.375 kB / 432.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2844, allocations: 4.375 kB / 432.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2847, allocations: 135.8 kB / 433 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2847, allocations: 3.938 kB / 433 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2847, allocations: 4 kB / 433 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2847, allocations: 3.938 kB / 433 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.2848, allocations: 12 kB / 433 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.285, allocations: 140.7 kB / 433.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2851, allocations: 66.77 kB / 433.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.2852, allocations: 32.84 kB / 433.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2852, allocations: 3.984 kB / 433.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2852, allocations: 34.5 kB / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.2852, allocations: 0 / 433.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000222/0.2855, allocations: 93.56 kB / 433.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.2855, allocations: 55.41 kB / 433.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2857, allocations: 140.6 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.2857, allocations: 25.7 kB / 433.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.2857, allocations: 84.12 kB / 433.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2858, allocations: 11.95 kB / 433.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.2858, allocations: 25.66 kB / 433.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2859, allocations: 322.8 kB / 434.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.286, allocations: 11.94 kB / 434.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.286, allocations: 58.86 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.388e-05/0.2861, allocations: 74.75 kB / 434.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2861, allocations: 0 / 434.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001446/0.2863, allocations: 89.5 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2863, allocations: 12.19 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2863, allocations: 4 kB / 434.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2863, allocations: 4 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.2863, allocations: 11.94 kB / 434.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2863, allocations: 3.938 kB / 434.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.2864, allocations: 7.938 kB / 434.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2864, allocations: 4 kB / 434.3 MB, free: 3.562 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 0.0001131/0.2865, allocations: 129.8 kB / 434.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.351e-05/0.2866, allocations: 69.58 kB / 434.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.2866, allocations: 20.38 kB / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2866, allocations: 0 / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2866, allocations: 0 / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2866, allocations: 0 / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2868, allocations: 136.7 kB / 434.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2868, allocations: 3.984 kB / 434.7 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.2868, allocations: 4 kB / 434.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2868, allocations: 3.938 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2868, allocations: 0 / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2868, allocations: 0 / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2868, allocations: 0 / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.287, allocations: 105 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.287, allocations: 19.94 kB / 434.8 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.287, allocations: 7.938 kB / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.687e-05/0.2871, allocations: 0 / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-06/0.2871, allocations: 0 / 434.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2871, allocations: 4 kB / 434.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.2871, allocations: 99.27 kB / 434.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 4 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.2874, allocations: 8 kB / 434.9 MB, free: 2.879 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.0005821/0.288, allocations: 0.6637 MB / 435.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2881, allocations: 44.42 kB / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2881, allocations: 0 / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.2881, allocations: 0 / 435.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2884, allocations: 55.03 kB / 435.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2898, allocations: 1.325 MB / 437 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.2901, allocations: 0.6963 MB / 437.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.2901, allocations: 7.953 kB / 437.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.2902, allocations: 15.42 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2902, allocations: 7.938 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3209, allocations: 1.853 MB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.23, allocations: 0 / 439.6 MB, free: 14.17 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: 13.724244046024978]