Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.001856/0.001856, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00219/0.00219, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.448/1.448, allocations: 177 MB / 204.1 MB, free: 9.145 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.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.648e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.Continuous): time 0.003778/0.003804, allocations: 2.079 MB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.005349, allocations: 0.6635 MB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.005591, allocations: 6.438 kB / 327.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.005888, allocations: 49.77 kB / 327.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.00614, allocations: 52.53 kB / 327.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.006644, allocations: 129.3 kB / 328 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/0.007269, allocations: 345 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.007455, allocations: 47.95 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.008007, allocations: 210.2 kB / 328.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.008314, allocations: 129.2 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.008416, allocations: 29.69 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.00849, allocations: 30.72 kB / 328.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.008627, allocations: 98.67 kB / 328.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.008789, allocations: 90.27 kB / 328.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.009362, allocations: 304.4 kB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.009366, allocations: 0 / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.009367, allocations: 0 / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.009384, allocations: 1.094 kB / 329.2 MB, free: 13.96 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001442/0.01083, allocations: 0.5006 MB / 329.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.01087, allocations: 13.64 kB / 329.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.01097, allocations: 35.83 kB / 329.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.0114, allocations: 198.7 kB / 330 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.01175, allocations: 341.9 kB / 330.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.01183, allocations: 27.2 kB / 330.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01285, allocations: 371 kB / 330.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.01287, allocations: 5.609 kB / 330.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.01291, allocations: 9.812 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01292, allocations: 9.625 kB / 330.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.01452, allocations: 0.4934 MB / 331.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.01641, allocations: 0.8591 MB / 332.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.01762, allocations: 310 kB / 332.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006111/0.01823, allocations: 169.1 kB / 332.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.01826, allocations: 3.156 kB / 332.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.0183, allocations: 37.38 kB / 332.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.0183, allocations: 0 / 332.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.03093/0.04922, allocations: 5.683 MB / 338.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.04928, allocations: 59.91 kB / 338.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.04961, allocations: 206.3 kB / 338.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.04968, allocations: 37.7 kB / 338.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.0498, allocations: 145 kB / 338.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.05, allocations: 190.4 kB / 338.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.05024, allocations: 82.34 kB / 339 MB, free: 6.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.0504, allocations: 346.7 kB / 339.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.05195, allocations: 480.9 kB / 339.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.05353, allocations: 0.5186 MB / 340.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/0.05632, allocations: 0.8181 MB / 341.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.05633, allocations: 0 / 341.1 MB, free: 4.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003225/0.05955, allocations: 1.001 MB / 342.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.05957, allocations: 4 kB / 342.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.05958, allocations: 4 kB / 342.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.0596, allocations: 4 kB / 342.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.0607, allocations: 167.8 kB / 342.3 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.06072, allocations: 4 kB / 342.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.06156, allocations: 91.75 kB / 342.4 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.06163, allocations: 16 kB / 342.4 MB, free: 3.336 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,kinematicPTP.motion_ref,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002775/0.0619, allocations: 161.8 kB / 342.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.06201, allocations: 27.81 kB / 342.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.06214, allocations: 47.31 kB / 342.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.06214, allocations: 8 kB / 342.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.06215, allocations: 0 / 342.6 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.06216, allocations: 3.984 kB / 342.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.06692, allocations: 1.705 MB / 344.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.06694, allocations: 8 kB / 344.3 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.06767, allocations: 147.9 kB / 344.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.06768, allocations: 12 kB / 344.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.06774, allocations: 20 kB / 344.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.06776, allocations: 19.92 kB / 344.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.06777, allocations: 11.94 kB / 344.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.07114, allocations: 1.232 MB / 345.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.07133, allocations: 59.95 kB / 345.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/0.07142, allocations: 27.97 kB / 345.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.07204, allocations: 79.91 kB / 345.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.07227, allocations: 83.72 kB / 346 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.07232, allocations: 24 kB / 346.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.07253, allocations: 160.2 kB / 346.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07253, allocations: 0 / 346.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.0731, allocations: 100 kB / 346.3 MB, free: 15.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 3 (load.w,speed.flange.phi,PI.x) * Number of discrete variables: 3 (kinematicPTP.moving[1],kinematicPTP.motion_ref,kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.0001884/0.07329, allocations: 123 kB / 346.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.07605, allocations: 0.7946 MB / 347.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.07605, allocations: 0 / 347.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.07722, allocations: 329.6 kB / 347.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.07793, allocations: 71.81 kB / 347.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.0805, allocations: 0.9477 MB / 348.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.08075, allocations: 180 kB / 348.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.08117, allocations: 78.88 kB / 348.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.08142, allocations: 40.5 kB / 348.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.08142, allocations: 0 / 348.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of Templates: time 0.01223/0.09365, allocations: 6.08 MB / 354.9 MB, free: 6.422 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.Continuous.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.508936896920204]