Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 106.5 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 183.9 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 59.92 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2721, allocations: 49.12 MB / 394.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01183/0.2839, allocations: 12.15 MB / 407.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007647/0.2916, allocations: 3.323 MB / 410.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.2943, allocations: 39.31 kB / 410.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.2966, allocations: 0.6878 MB / 411.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003311/0.2999, allocations: 0.7879 MB / 411.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3011, allocations: 411.3 kB / 412.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.3048, allocations: 2.405 MB / 414.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.306, allocations: 0.6611 MB / 415.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.308, allocations: 0.9023 MB / 416.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.3095, allocations: 0.991 MB / 417.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.3098, allocations: 228.8 kB / 417.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.3105, allocations: 263.7 kB / 417.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.3109, allocations: 459.8 kB / 418.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.3128, allocations: 1.082 MB / 419.3 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.3173, allocations: 2.838 MB / 422.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3173, allocations: 7.938 kB / 422.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3173, allocations: 0 / 422.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.486e-05/0.3173, allocations: 0 / 422.1 MB, free: 6.578 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.004496/0.3218, allocations: 2.21 MB / 424.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3219, allocations: 9.344 kB / 424.4 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.3229, allocations: 292.6 kB / 424.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.3251, allocations: 1.137 MB / 425.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-05/0.3252, allocations: 114 kB / 425.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.3254, allocations: 164.2 kB / 426.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.3282, allocations: 1.5 MB / 427.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.328e-05/0.3283, allocations: 16.81 kB / 427.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3284, allocations: 61.06 kB / 427.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.3284, allocations: 43.03 kB / 427.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3306, allocations: 1.055 MB / 428.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009395/0.34, allocations: 6.244 MB / 435 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3417, allocations: 0.5725 MB / 435.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009498/0.3426, allocations: 426.2 kB / 436 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3427, allocations: 16.56 kB / 436 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3427, allocations: 43.06 kB / 436 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.3427, allocations: 0 / 436 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.005734/0.3484, allocations: 2.383 MB / 438.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.3485, allocations: 111.5 kB / 438.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.3505, allocations: 1.31 MB / 439.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.3506, allocations: 37.7 kB / 439.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/0.3513, allocations: 0.8749 MB / 440.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.3515, allocations: 273.7 kB / 441 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.3518, allocations: 206.8 kB / 441.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.352, allocations: 345.9 kB / 441.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.3526, allocations: 286.5 kB / 441.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/0.3536, allocations: 0.7342 MB / 442.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3553, allocations: 1.096 MB / 443.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.3553, allocations: 4 kB / 443.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00267/0.358, allocations: 1.26 MB / 444.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.358, allocations: 12 kB / 444.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.358, allocations: 16.5 kB / 444.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.3585, allocations: 138.5 kB / 445.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/0.3594, allocations: 259.5 kB / 445.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.3639, allocations: 4.638 MB / 450 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3651, allocations: 67.92 kB / 450 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.3652, allocations: 52 kB / 450.1 MB, free: 11.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006352/0.3659, allocations: 353.3 kB / 450.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.3661, allocations: 151 kB / 450.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.368, allocations: 0.8256 MB / 451.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.368, allocations: 11.94 kB / 451.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.368, allocations: 7.984 kB / 451.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.368, allocations: 0 / 451.4 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.3723, allocations: 2.327 MB / 453.7 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3723, allocations: 4.609 kB / 453.8 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.3729, allocations: 131.8 kB / 453.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004727/0.3734, allocations: 138.4 kB / 454 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.3734, allocations: 23.98 kB / 454 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/0.3783, allocations: 4.787 MB / 458.8 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.3783, allocations: 7.938 kB / 458.8 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.3811, allocations: 1.289 MB / 460.1 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.3817, allocations: 296 kB / 460.4 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.3819, allocations: 16 kB / 460.4 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.3825, allocations: 39.97 kB / 460.5 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3827, allocations: 64.36 kB / 460.5 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.3827, allocations: 27.98 kB / 460.6 MB, free: 0 / 366.1 MB Notification: Performance of sorting global known variables: time 0.001485/0.3842, allocations: 0.8742 MB / 461.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3842, allocations: 0 / 461.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001323/0.3855, allocations: 331.9 kB / 461.8 MB, free: 14.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.phi) * 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 (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.3858, allocations: 131.1 kB / 461.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.3879, allocations: 1.08 MB / 463 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.3879, allocations: 4 kB / 463 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.3891, allocations: 0.6928 MB / 463.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.3911, allocations: 368.9 kB / 464 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.3974, allocations: 2.99 MB / 467 MB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009421/0.3984, allocations: 1.221 MB / 468.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.3987, allocations: 95.42 kB / 468.3 MB, free: 8.023 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3987, allocations: 0 / 468.3 MB, free: 8.023 MB / 382.1 MB Notification: Performance of Templates: time 0.05152/0.4502, allocations: 41.19 MB / 0.4976 GB, free: 14.75 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_withLosses/DCPM_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches