Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001404/0.001404, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001478/0.001478, allocations: 160 kB / 23.95 MB, free: 4.168 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.526/1.526, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.865e-05/3.181e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003733/0.003764, allocations: 1.611 MB / 326.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.005314, allocations: 0.5208 MB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005449, allocations: 1.656 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.234e-05/0.005522, allocations: 9.234 kB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.005706, allocations: 13.06 kB / 327.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.006247, allocations: 70.19 kB / 327.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.006416, allocations: 55.83 kB / 327.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.006541, allocations: 9.609 kB / 327.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.006752, allocations: 38.27 kB / 327.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.006835, allocations: 19.42 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.006862, allocations: 3.344 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.006913, allocations: 5.594 kB / 327.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.006981, allocations: 19.62 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.007027, allocations: 7.219 kB / 327.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.007245, allocations: 81.61 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007248, allocations: 4.75 kB / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.007249, allocations: 0 / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.007261, allocations: 0 / 327.5 MB, free: 14.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006388/0.0079, allocations: 308.5 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.007946, allocations: 12.23 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.008125, allocations: 17.81 kB / 327.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.008475, allocations: 137.2 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.008491, allocations: 11.3 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.008514, allocations: 7.719 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.008912, allocations: 138 kB / 328.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.008928, allocations: 4.125 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.008941, allocations: 384 / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.008952, allocations: 5.156 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.009061, allocations: 23.78 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.009467, allocations: 226.7 kB / 328.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.00971, allocations: 80.8 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.009809, allocations: 41.02 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.009838, allocations: 2.641 kB / 328.5 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.204e-05/0.00989, allocations: 42.08 kB / 328.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.009892, allocations: 0 / 328.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005009/0.01039, allocations: 97.72 kB / 328.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.01051, allocations: 114.2 kB / 328.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.01076, allocations: 146.5 kB / 328.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.01078, allocations: 25.7 kB / 328.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.01086, allocations: 88.39 kB / 329 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.01089, allocations: 5.891 kB / 329 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.01095, allocations: 20.78 kB / 329 MB, free: 13.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01113, allocations: 317.5 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.01121, allocations: 10.2 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.01127, allocations: 23.98 kB / 329.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.01142, allocations: 46.12 kB / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01142, allocations: 0 / 329.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001752/0.0116, allocations: 66.28 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.01162, allocations: 6.516 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01163, allocations: 0 / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.01165, allocations: 1.688 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.01173, allocations: 9.438 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.01174, allocations: 1.156 kB / 329.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.01181, allocations: 7.203 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01182, allocations: 6.344 kB / 329.5 MB, free: 13.05 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001178/0.01194, allocations: 122 kB / 329.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.01204, allocations: 55 kB / 329.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.01209, allocations: 13.73 kB / 329.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01209, allocations: 1.125 kB / 329.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.0121, allocations: 1.125 kB / 329.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01211, allocations: 5.969 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.0123, allocations: 122.1 kB / 329.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.0123, allocations: 1.812 kB / 329.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.01239, allocations: 13.84 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.01239, allocations: 5.531 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.01242, allocations: 5.25 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.01242, allocations: 1.781 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01243, allocations: 1.375 kB / 329.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.01275, allocations: 180 kB / 330 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.0128, allocations: 22.53 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.01283, allocations: 5.969 kB / 330 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.01291, allocations: 7.938 kB / 330.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.01294, allocations: 10.19 kB / 330.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01295, allocations: 7 kB / 330.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.01305, allocations: 116 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01305, allocations: 0 / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.01329, allocations: 6.438 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001411/0.01344, allocations: 100.4 kB / 330.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.01362, allocations: 35.12 kB / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01362, allocations: 0 / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.01368, allocations: 13.78 kB / 330.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.01406, allocations: 29.59 kB / 330.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.01451, allocations: 193.7 kB / 330.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.819e-05/0.01461, allocations: 83.55 kB / 330.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.01465, allocations: 3.266 kB / 330.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.01469, allocations: 16.86 kB / 330.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.01469, allocations: 0 / 330.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.00365/0.01834, allocations: 0.6568 MB / 331.3 MB, free: 11.97 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToSquareWaveHold/AssignClockToSquareWaveHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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: 4.470726627856493]