Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 123.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 247 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 47.92 kB / 358.7 MB, free: 8.434 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.09127, allocations: 49.43 MB / 408.1 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00946/0.1008, allocations: 7.97 MB / 416.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.1052, allocations: 2.617 MB / 418.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.1059, allocations: 20 kB / 418.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1072, allocations: 0.4969 MB / 419.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009685/0.1082, allocations: 404.8 kB / 419.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1086, allocations: 211.6 kB / 419.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.11, allocations: 1.237 MB / 421 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.1108, allocations: 0.5409 MB / 421.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000599/0.1114, allocations: 478.1 kB / 422.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.112, allocations: 0.5172 MB / 422.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.1122, allocations: 116 kB / 422.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1125, allocations: 152 kB / 422.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.1127, allocations: 239.1 kB / 423.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.1133, allocations: 0.5638 MB / 423.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1148, allocations: 1.467 MB / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1148, allocations: 0 / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1148, allocations: 0 / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.1149, allocations: 0 / 425.1 MB, free: 5.867 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002234/0.1171, allocations: 1.335 MB / 426.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1171, allocations: 11.89 kB / 426.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.1176, allocations: 160.1 kB / 426.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.1187, allocations: 0.6382 MB / 427.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.1188, allocations: 62.38 kB / 427.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.1189, allocations: 95.88 kB / 427.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1203, allocations: 0.8184 MB / 428.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.1203, allocations: 7.875 kB / 428.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.1204, allocations: 36 kB / 428.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.1204, allocations: 20 kB / 428.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1216, allocations: 0.5426 MB / 428.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1951/0.3166, allocations: 3.556 MB / 432.4 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.3172, allocations: 240.8 kB / 432.6 MB, free: 21.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3174, allocations: 121.6 kB / 432.7 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3175, allocations: 1.125 kB / 432.7 MB, free: 21.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3175, allocations: 40.88 kB / 432.8 MB, free: 20.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.3175, allocations: 0 / 432.8 MB, free: 20.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00209/0.3196, allocations: 1.089 MB / 433.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3197, allocations: 80.77 kB / 433.9 MB, free: 20.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009236/0.3206, allocations: 0.7636 MB / 434.7 MB, free: 20.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3206, allocations: 33.7 kB / 434.7 MB, free: 20.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.3209, allocations: 0.53 MB / 435.3 MB, free: 19.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.321, allocations: 112.9 kB / 435.4 MB, free: 19.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3211, allocations: 121.2 kB / 435.5 MB, free: 19.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.3212, allocations: 383.2 kB / 435.9 MB, free: 19.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.3215, allocations: 127.5 kB / 436 MB, free: 19.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.3219, allocations: 452.2 kB / 436.4 MB, free: 19.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007272/0.3227, allocations: 0.6103 MB / 437 MB, free: 18.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3227, allocations: 3.688 kB / 437 MB, free: 18.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001184/0.3239, allocations: 0.659 MB / 437.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.3239, allocations: 10.14 kB / 437.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.324, allocations: 11.12 kB / 437.7 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.3242, allocations: 34.7 kB / 437.8 MB, free: 18.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.3247, allocations: 152.9 kB / 437.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.3255, allocations: 1.384 MB / 439.3 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.326, allocations: 51.73 kB / 439.3 MB, free: 17.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3261, allocations: 35.53 kB / 439.4 MB, free: 17.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.3264, allocations: 240.2 kB / 439.6 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.3265, allocations: 76.28 kB / 439.7 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006613/0.3271, allocations: 337.1 kB / 440 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3272, allocations: 9.172 kB / 440 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3272, allocations: 1.219 kB / 440 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3272, allocations: 1.312 kB / 440 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.3288, allocations: 1.113 MB / 441.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3288, allocations: 2.219 kB / 441.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.3291, allocations: 64.36 kB / 441.2 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.312e-05/0.3292, allocations: 24.33 kB / 441.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3292, allocations: 11.56 kB / 441.2 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/0.3299, allocations: 1.38 MB / 442.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3299, allocations: 3.234 kB / 442.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009374/0.3309, allocations: 0.5753 MB / 443.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.3311, allocations: 182.4 kB / 443.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.3312, allocations: 13.16 kB / 443.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.3316, allocations: 20.16 kB / 443.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.3316, allocations: 30.95 kB / 443.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3317, allocations: 8.609 kB / 443.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006953/0.3324, allocations: 0.5145 MB / 444 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3324, allocations: 4 kB / 444 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008215/0.3332, allocations: 174.3 kB / 444.1 MB, free: 14.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.3334, allocations: 126.8 kB / 444.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009135/0.3343, allocations: 495.3 kB / 444.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3344, allocations: 5.688 kB / 444.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003506/0.3347, allocations: 239.7 kB / 445 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.3357, allocations: 192.8 kB / 445.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3379, allocations: 1.527 MB / 446.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3384, allocations: 0.9471 MB / 447.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3385, allocations: 58.47 kB / 447.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3385, allocations: 0 / 447.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of Templates: time 0.02241/0.361, allocations: 13.9 MB / 461.6 MB, free: 7.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.446434478042647]