Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001877/0.001877, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00229/0.00229, allocations: 211.4 kB / 24.48 MB, free: 3.934 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: 230.5 MB / 258.2 MB, free: 7.754 MB / 206.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.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.91 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2513, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01353/0.2649, allocations: 7.064 MB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006374/0.2712, allocations: 2.485 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.2723, allocations: 27.94 kB / 442 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2743, allocations: 475.1 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.2761, allocations: 436.8 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.2768, allocations: 211.7 kB / 443.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.2789, allocations: 1.248 MB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008354/0.2797, allocations: 342.5 kB / 444.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009815/0.2807, allocations: 0.4981 MB / 445.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000883/0.2816, allocations: 453.7 kB / 445.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.2818, allocations: 116 kB / 445.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.2822, allocations: 148 kB / 445.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.2825, allocations: 243.1 kB / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.2832, allocations: 465.9 kB / 446.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.2856, allocations: 1.482 MB / 448 MB, free: 6.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2856, allocations: 7.984 kB / 448 MB, free: 6.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2856, allocations: 0 / 448 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.2856, allocations: 4 kB / 448 MB, free: 6.789 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.003437/0.2891, allocations: 1.248 MB / 449.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.2891, allocations: 11.98 kB / 449.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2902, allocations: 176.2 kB / 449.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.2919, allocations: 0.5842 MB / 450.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.187e-05/0.292, allocations: 62.38 kB / 450.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.2922, allocations: 95.86 kB / 450.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.2943, allocations: 0.8725 MB / 451.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.2943, allocations: 3.953 kB / 451.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2945, allocations: 36 kB / 451.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.2945, allocations: 20 kB / 451.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2961, allocations: 0.5387 MB / 451.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.3022, allocations: 2.937 MB / 454.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.3029, allocations: 230.7 kB / 454.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.3032, allocations: 104.8 kB / 454.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.3033, allocations: 4 kB / 454.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3033, allocations: 42.56 kB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.055e-06/0.3033, allocations: 0 / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002487/0.3058, allocations: 0.9308 MB / 455.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.3059, allocations: 81.11 kB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.3068, allocations: 0.6915 MB / 456.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3069, allocations: 29.7 kB / 456.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004203/0.3073, allocations: 0.5381 MB / 457.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3074, allocations: 115 kB / 457.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.3076, allocations: 126.2 kB / 457.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.3078, allocations: 374.8 kB / 457.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.3081, allocations: 129.2 kB / 458 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.3087, allocations: 475.9 kB / 458.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.3097, allocations: 0.6216 MB / 459.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3097, allocations: 7.938 kB / 459.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001327/0.311, allocations: 0.6383 MB / 459.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3111, allocations: 12.94 kB / 459.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.3111, allocations: 8 kB / 459.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.3113, allocations: 48.72 kB / 459.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.3118, allocations: 147.8 kB / 459.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.313, allocations: 1.26 MB / 461.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.3135, allocations: 44.05 kB / 461.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.3136, allocations: 36 kB / 461.3 MB, free: 8.738 MB / 366.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.0003678/0.314, allocations: 237.5 kB / 461.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.3141, allocations: 67.58 kB / 461.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.3148, allocations: 329 kB / 461.9 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3148, allocations: 4 kB / 461.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.3148, allocations: 4 kB / 461.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3148, allocations: 4 kB / 461.9 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3166, allocations: 0.9174 MB / 462.8 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3166, allocations: 4 kB / 462.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.3169, allocations: 72.05 kB / 462.9 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.317, allocations: 20.84 kB / 462.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.317, allocations: 12 kB / 462.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.3182, allocations: 1.248 MB / 464.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3182, allocations: 0 / 464.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3193, allocations: 0.5685 MB / 464.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.3195, allocations: 95.52 kB / 464.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3197, allocations: 8 kB / 464.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.32, allocations: 19.98 kB / 464.9 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.95e-05/0.3201, allocations: 31.83 kB / 464.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.3201, allocations: 12 kB / 464.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007164/0.3208, allocations: 467 kB / 465.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3208, allocations: 0 / 465.4 MB, free: 4.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000782/0.3216, allocations: 164 kB / 465.5 MB, free: 4.258 MB / 366.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.0002375/0.3219, allocations: 127.1 kB / 465.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3229, allocations: 469.2 kB / 466.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3229, allocations: 0 / 466.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.3234, allocations: 234.5 kB / 466.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3244, allocations: 174.2 kB / 466.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.3273, allocations: 1.529 MB / 468 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3277, allocations: 361.1 kB / 468.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.3279, allocations: 51.44 kB / 468.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3279, allocations: 3.938 kB / 468.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of Templates: time 0.02299/0.3509, allocations: 13.98 MB / 482.4 MB, free: 3.277 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.70324105489999]