Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001704/0.001704, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002027/0.002027, allocations: 214 kB / 23.74 MB, free: 4.66 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.266, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002325/0.2683, allocations: 0.8694 MB / 432 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.2687, allocations: 123.6 kB / 432.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.2688, allocations: 0 / 432.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.168e-05/0.2689, allocations: 7.875 kB / 432.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.269, allocations: 11.92 kB / 432.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.2692, allocations: 43.91 kB / 432.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.2694, allocations: 39.91 kB / 432.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2695, allocations: 15.97 kB / 432.3 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.2695, allocations: 19.88 kB / 432.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.2696, allocations: 19.92 kB / 432.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.2696, allocations: 4 kB / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2696, allocations: 0 / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.2696, allocations: 23.92 kB / 432.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.2697, allocations: 31.73 kB / 432.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2698, allocations: 64.03 kB / 432.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2698, allocations: 4 kB / 432.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2698, allocations: 0 / 432.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.2698, allocations: 0 / 432.4 MB, free: 5.422 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.0004864/0.2703, allocations: 298.1 kB / 432.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2704, allocations: 12.03 kB / 432.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2704, allocations: 38.73 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2704, allocations: 12.84 kB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.2706, allocations: 133.1 kB / 432.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2707, allocations: 12.38 kB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2707, allocations: 8.312 kB / 432.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.271, allocations: 139.8 kB / 433.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.271, allocations: 7.938 kB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.271, allocations: 0 / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.271, allocations: 0 / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.2711, allocations: 23.98 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.2712, allocations: 148.7 kB / 433.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.2714, allocations: 74.69 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.2714, allocations: 36.84 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.2715, allocations: 0 / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2715, allocations: 38.56 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2715, allocations: 0 / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.2717, allocations: 105.7 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2718, allocations: 59.41 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2719, allocations: 137.8 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2719, allocations: 33.7 kB / 433.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2719, allocations: 80.3 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.272, allocations: 11.94 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.272, allocations: 25.66 kB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2721, allocations: 330.8 kB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.2722, allocations: 8 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.2722, allocations: 66.86 kB / 434.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.2723, allocations: 70.81 kB / 434.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2723, allocations: 0 / 434.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001411/0.2725, allocations: 97.44 kB / 434.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2725, allocations: 11.94 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.2725, allocations: 3.984 kB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2725, allocations: 4 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.2726, allocations: 15.94 kB / 434.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2726, allocations: 7.984 kB / 434.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.2726, allocations: 3.938 kB / 434.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.2726, allocations: 12.25 kB / 434.5 MB, free: 3.148 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 (sum.y,sum.u[2],sum.u[1],const.y,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.0001032/0.2727, allocations: 121.8 kB / 434.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2729, allocations: 89.5 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.2729, allocations: 12.72 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2729, allocations: 0 / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2729, allocations: 0 / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2729, allocations: 0 / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.273, allocations: 152.7 kB / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.273, allocations: 0 / 434.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.2731, allocations: 16 kB / 434.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2731, allocations: 3.938 kB / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.2731, allocations: 0 / 434.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2731, allocations: 3.984 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2731, allocations: 0 / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.2733, allocations: 109 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2733, allocations: 23.81 kB / 435 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2733, allocations: 8 kB / 435 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.2733, allocations: 4 kB / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.2733, allocations: 0 / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2733, allocations: 0 / 435 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.2734, allocations: 117.4 kB / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2734, allocations: 0 / 435.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.2736, allocations: 4 kB / 435.1 MB, free: 2.418 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,const.y,sum.u[1],sum.u[2],sum.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.0005221/0.2741, allocations: 0.6867 MB / 435.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.2743, allocations: 43.92 kB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2743, allocations: 0 / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.2743, allocations: 0 / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2746, allocations: 47.98 kB / 435.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2759, allocations: 1.377 MB / 437.3 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.2764, allocations: 0.6963 MB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.2764, allocations: 4.672 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/0.2764, allocations: 23.42 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2764, allocations: 4 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3057, allocations: 1.968 MB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.87, allocations: 12.25 kB / 440 MB, free: 13.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.252051546005532]