Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001624/0.001624, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009997/0.001, allocations: 103.1 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003389, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2911, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001671/0.2928, allocations: 1.312 MB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.2937, allocations: 0.7289 MB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2939, allocations: 0.9688 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.2939, allocations: 3.938 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2941, allocations: 8.75 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.2944, allocations: 55.88 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.2945, allocations: 45.52 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2946, allocations: 27 kB / 414.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2948, allocations: 27.86 kB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.2948, allocations: 27.78 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2948, allocations: 0 / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.2949, allocations: 8 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.2949, allocations: 7.938 kB / 414.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.295, allocations: 57.5 kB / 414.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2951, allocations: 59.72 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2951, allocations: 2.531 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2951, allocations: 0 / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.2951, allocations: 0 / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003921/0.2955, allocations: 376.7 kB / 414.8 MB, free: 23.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2956, allocations: 8.031 kB / 414.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2958, allocations: 28.81 kB / 414.8 MB, free: 23.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2959, allocations: 200.7 kB / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.296, allocations: 4.375 kB / 415 MB, free: 22.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.296, allocations: 12.06 kB / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2963, allocations: 130.7 kB / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2963, allocations: 0 / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2963, allocations: 4 kB / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2963, allocations: 4 kB / 415.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.2964, allocations: 27.92 kB / 415.2 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.2967, allocations: 291.4 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.2968, allocations: 106.4 kB / 415.6 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.2969, allocations: 43.48 kB / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.297, allocations: 0 / 415.6 MB, free: 22.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.297, allocations: 42.56 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.297, allocations: 0 / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000274/0.2973, allocations: 109.3 kB / 415.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2973, allocations: 137 kB / 415.9 MB, free: 21.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.2974, allocations: 144.5 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2974, allocations: 25.7 kB / 416.1 MB, free: 21.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.2975, allocations: 96.06 kB / 416.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.2975, allocations: 7.906 kB / 416.2 MB, free: 21.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2975, allocations: 3.938 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.2976, allocations: 322.8 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.2976, allocations: 12 kB / 416.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.2977, allocations: 56.22 kB / 416.6 MB, free: 21.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.2978, allocations: 60.22 kB / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2978, allocations: 0 / 416.6 MB, free: 20.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001373/0.2979, allocations: 89.55 kB / 416.7 MB, free: 20.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.298, allocations: 8.156 kB / 416.7 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.298, allocations: 7.984 kB / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.298, allocations: 0 / 416.7 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.2981, allocations: 15.98 kB / 416.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2981, allocations: 0 / 416.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.2981, allocations: 11.84 kB / 416.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2982, allocations: 4 kB / 416.8 MB, free: 20.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.078e-05/0.2982, allocations: 125.7 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.2983, allocations: 61.59 kB / 417 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.2984, allocations: 11.88 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2984, allocations: 4 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2984, allocations: 0 / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2984, allocations: 7.875 kB / 417 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2985, allocations: 181.6 kB / 417.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2985, allocations: 0 / 417.2 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.2986, allocations: 15.98 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2986, allocations: 0 / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2986, allocations: 4.062 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2987, allocations: 4 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2987, allocations: 0 / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.2988, allocations: 205.9 kB / 417.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.2989, allocations: 93 kB / 417.5 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.2989, allocations: 4 kB / 417.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.299, allocations: 7.984 kB / 417.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.299, allocations: 7.938 kB / 417.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2991, allocations: 4 kB / 417.5 MB, free: 19.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.2991, allocations: 109.5 kB / 417.6 MB, free: 19.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2991, allocations: 0 / 417.6 MB, free: 19.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000213/0.2993, allocations: 8 kB / 417.6 MB, free: 19.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.000103/0.2995, allocations: 111.2 kB / 417.7 MB, free: 19.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.2996, allocations: 43.91 kB / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2996, allocations: 4 kB / 417.8 MB, free: 19.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.2997, allocations: 16.31 kB / 417.8 MB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3001, allocations: 36.06 kB / 417.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3005, allocations: 235.9 kB / 418 MB, free: 19.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3007, allocations: 0.6926 MB / 418.7 MB, free: 18.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.346e-05/0.3007, allocations: 12.17 kB / 418.7 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.3007, allocations: 11.44 kB / 418.8 MB, free: 18.63 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3008, allocations: 0 / 418.8 MB, free: 18.63 MB / 298.7 MB Notification: Performance of Templates: time 0.003178/0.3039, allocations: 0.6407 MB / 419.4 MB, free: 18 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches