Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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.01125/0.01125, allocations: 106.5 kB / 21.98 MB, free: 5.223 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.001896/0.001896, allocations: 212.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 259 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8007,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 59.91 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled): time 0.004507/0.3575, allocations: 2.364 MB / 435.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3596, allocations: 0.8222 MB / 436.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.3598, allocations: 7.938 kB / 436.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.3601, allocations: 51.58 kB / 436.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.3603, allocations: 59.56 kB / 436.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.3609, allocations: 175.1 kB / 436.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.3614, allocations: 379.5 kB / 437 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3617, allocations: 63.8 kB / 437.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.362, allocations: 175.5 kB / 437.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.3623, allocations: 179.3 kB / 437.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.3624, allocations: 32 kB / 437.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.3625, allocations: 32 kB / 437.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3626, allocations: 95.72 kB / 437.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3628, allocations: 139.3 kB / 437.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.3633, allocations: 331.8 kB / 438 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3633, allocations: 0 / 438 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3633, allocations: 0 / 438 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3633, allocations: 0 / 438 MB, free: 2.078 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001249/0.3646, allocations: 0.5444 MB / 438.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3646, allocations: 12.03 kB / 438.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.192e-05/0.3647, allocations: 36.75 kB / 438.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.3651, allocations: 210.5 kB / 438.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.3653, allocations: 134.3 kB / 438.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.3654, allocations: 36.31 kB / 439 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3666, allocations: 0.5435 MB / 439.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.3666, allocations: 4 kB / 439.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.3667, allocations: 12 kB / 439.5 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3667, allocations: 4 kB / 439.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.3681, allocations: 0.5148 MB / 440.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.3698, allocations: 0.9452 MB / 441 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3713, allocations: 486.5 kB / 441.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/0.3719, allocations: 247.2 kB / 441.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.372, allocations: 12.08 kB / 441.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.372, allocations: 38.56 kB / 441.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.372, allocations: 4 kB / 441.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.03733/0.4093, allocations: 5.727 MB / 447.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.4095, allocations: 145 kB / 447.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.4097, allocations: 192 kB / 447.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/0.4098, allocations: 41.7 kB / 447.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4099, allocations: 141.8 kB / 448 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.4101, allocations: 198.3 kB / 448.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.4104, allocations: 114.6 kB / 448.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4106, allocations: 350.8 kB / 448.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.4122, allocations: 0.611 MB / 449.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.4139, allocations: 0.7964 MB / 450.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/0.4169, allocations: 1.247 MB / 451.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4169, allocations: 4 kB / 451.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003569/0.4205, allocations: 1.398 MB / 452.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4205, allocations: 8 kB / 452.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.4205, allocations: 12 kB / 452.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.4206, allocations: 8 kB / 452.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.4219, allocations: 211.6 kB / 453 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.422, allocations: 8 kB / 453 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.4229, allocations: 111.8 kB / 453.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.423, allocations: 27.98 kB / 453.1 MB, free: 2.543 MB / 350.1 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.noWphase,kinematicPTP.moving[1]) * 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.0003551/0.4234, allocations: 181.6 kB / 453.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.4237, allocations: 149.4 kB / 453.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.4239, allocations: 59.78 kB / 453.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.4239, allocations: 8 kB / 453.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.4239, allocations: 4 kB / 453.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4239, allocations: 11.92 kB / 453.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/0.4289, allocations: 2.143 MB / 455.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.4289, allocations: 8 kB / 455.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007816/0.4297, allocations: 183.7 kB / 455.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/0.4297, allocations: 16 kB / 455.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.504e-05/0.4298, allocations: 28.44 kB / 455.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.4298, allocations: 19.94 kB / 455.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.4298, allocations: 15.94 kB / 455.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.4331, allocations: 1.549 MB / 457.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.4333, allocations: 99.7 kB / 457.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-05/0.4334, allocations: 23.98 kB / 457.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/0.434, allocations: 75.92 kB / 457.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.4342, allocations: 95.64 kB / 457.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.4342, allocations: 35.98 kB / 457.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.4344, allocations: 147.4 kB / 457.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4344, allocations: 0 / 457.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006951/0.4351, allocations: 128 kB / 458.1 MB, free: 13.24 MB / 366.1 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.0001915/0.4353, allocations: 135.2 kB / 458.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.4381, allocations: 1.026 MB / 459.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4381, allocations: 0 / 459.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.4391, allocations: 334.5 kB / 459.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.4401, allocations: 129.7 kB / 459.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.443, allocations: 1.206 MB / 460.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.4435, allocations: 0.8128 MB / 461.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.4439, allocations: 43.42 kB / 461.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 2.424e-06/0.4439, allocations: 0 / 461.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of Templates: time 0.01471/0.4586, allocations: 7.199 MB / 468.9 MB, free: 2.176 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/CascadeControlledDrive/SuperSampled/SuperSampled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.CascadeControlledDrive.SuperSampled.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: 8.19199322303757]