Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.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.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001237, allocations: 196.6 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007375/0.0007375, allocations: 103.3 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002014/0.0002014, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2277, allocations: 51.42 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks): time 0.00218/0.2299, allocations: 2 MB / 414 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2312, allocations: 0.9652 MB / 415 MB, free: 22.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.2313, allocations: 13.38 kB / 415 MB, free: 22.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.2316, allocations: 35.77 kB / 415.1 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.2318, allocations: 51.69 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.2323, allocations: 181.9 kB / 415.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.2326, allocations: 375.3 kB / 415.7 MB, free: 22.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2328, allocations: 96.3 kB / 415.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.233, allocations: 151.4 kB / 415.9 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.2332, allocations: 159.2 kB / 416.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.2333, allocations: 16 kB / 416.1 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.2333, allocations: 16 kB / 416.1 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.2334, allocations: 91.64 kB / 416.2 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2335, allocations: 168.8 kB / 416.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2338, allocations: 332.2 kB / 416.7 MB, free: 21.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2338, allocations: 4 kB / 416.7 MB, free: 21.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2338, allocations: 0 / 416.7 MB, free: 21.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2338, allocations: 0 / 416.7 MB, free: 21.24 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001006/0.2348, allocations: 0.6354 MB / 417.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2349, allocations: 8.031 kB / 417.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.235, allocations: 48.47 kB / 417.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.2353, allocations: 299.1 kB / 417.6 MB, free: 20.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.2355, allocations: 146.3 kB / 417.8 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.2355, allocations: 28.38 kB / 417.8 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.2365, allocations: 0.5767 MB / 418.4 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2365, allocations: 7.906 kB / 418.4 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.2366, allocations: 12 kB / 418.4 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2366, allocations: 4 kB / 418.4 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2377, allocations: 0.5308 MB / 418.9 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.239, allocations: 1.037 MB / 420 MB, free: 17.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.2403, allocations: 0.518 MB / 420.5 MB, free: 17.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.2408, allocations: 271.5 kB / 420.8 MB, free: 16.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.2409, allocations: 8 kB / 420.8 MB, free: 16.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2409, allocations: 46.48 kB / 420.8 MB, free: 16.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.2409, allocations: 0 / 420.8 MB, free: 16.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.03317/0.2741, allocations: 6.78 MB / 427.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.24e-05/0.2742, allocations: 156.9 kB / 427.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.2745, allocations: 250.6 kB / 428 MB, free: 9.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.2745, allocations: 37.7 kB / 428 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.2746, allocations: 145.5 kB / 428.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.2747, allocations: 193.3 kB / 428.4 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.2748, allocations: 16 kB / 428.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.2749, allocations: 342.8 kB / 428.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.2761, allocations: 0.6578 MB / 429.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.2775, allocations: 0.8354 MB / 430.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.2799, allocations: 1.314 MB / 431.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.2799, allocations: 4.375 kB / 431.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002783/0.2827, allocations: 1.476 MB / 433 MB, free: 4.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2827, allocations: 8 kB / 433 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2827, allocations: 4.312 kB / 433 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.2828, allocations: 15.94 kB / 433 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.284, allocations: 223.7 kB / 433.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.284, allocations: 15.92 kB / 433.3 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000799/0.2848, allocations: 119.7 kB / 433.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.2849, allocations: 43.97 kB / 433.4 MB, free: 3.969 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002715/0.2852, allocations: 189.6 kB / 433.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.2854, allocations: 165 kB / 433.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.2855, allocations: 67.61 kB / 433.8 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2856, allocations: 8 kB / 433.8 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2856, allocations: 0 / 433.8 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.2856, allocations: 7.984 kB / 433.9 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.2895, allocations: 2.304 MB / 436.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.2895, allocations: 12.17 kB / 436.2 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.2902, allocations: 203.8 kB / 436.4 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.2902, allocations: 16 kB / 436.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.2902, allocations: 24 kB / 436.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.2902, allocations: 23.86 kB / 436.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.2903, allocations: 15.94 kB / 436.4 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.293, allocations: 1.669 MB / 438.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.2932, allocations: 176.6 kB / 438.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.2933, allocations: 28.22 kB / 438.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.2938, allocations: 95.98 kB / 438.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.294, allocations: 95.66 kB / 438.5 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.2941, allocations: 35.97 kB / 438.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.2942, allocations: 193.9 kB / 438.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2942, allocations: 0 / 438.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006199/0.2949, allocations: 120.2 kB / 438.8 MB, free: 14.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (load.w,speed.flange.phi) * Number of discrete variables: 2 (kinematicPTP.moving[1],kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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.0001625/0.295, allocations: 142.9 kB / 439 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.2976, allocations: 1.193 MB / 440.2 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2976, allocations: 9.312 kB / 440.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.2985, allocations: 377.8 kB / 440.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2996, allocations: 156.7 kB / 440.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.3018, allocations: 1.435 MB / 442.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3022, allocations: 0.8288 MB / 443 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.3028, allocations: 96.16 kB / 443.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.3031, allocations: 39.42 kB / 443.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3031, allocations: 0 / 443.1 MB, free: 9.715 MB / 314.7 MB Notification: Performance of Templates: time 0.01224/0.3154, allocations: 7.72 MB / 450.8 MB, free: 2.008 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/CascadeControlledDrive/AbsoluteClocks/AbsoluteClocks.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.AbsoluteClocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches