Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 177.4 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007348/0.0007349, allocations: 90.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.005431/0.2356, allocations: 6.972 MB / 381.5 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2388, allocations: 2.447 MB / 384 MB, free: 37.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.2393, allocations: 20.03 kB / 384 MB, free: 37.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.2402, allocations: 430 kB / 384.4 MB, free: 37.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.2409, allocations: 337.1 kB / 384.7 MB, free: 37.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.2412, allocations: 133.6 kB / 384.9 MB, free: 37.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.2421, allocations: 1.108 MB / 386 MB, free: 36.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.2426, allocations: 393.3 kB / 386.4 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.243, allocations: 391.3 kB / 386.8 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.2435, allocations: 443.6 kB / 387.2 MB, free: 35.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.2436, allocations: 55.09 kB / 387.2 MB, free: 35.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.2438, allocations: 88.38 kB / 387.3 MB, free: 35.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.312e-05/0.2439, allocations: 160.2 kB / 387.5 MB, free: 35.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2441, allocations: 229.2 kB / 387.7 MB, free: 35.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006944/0.2448, allocations: 1.137 MB / 388.8 MB, free: 34.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2448, allocations: 0 / 388.8 MB, free: 34.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2448, allocations: 0 / 388.8 MB, free: 34.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.2448, allocations: 0 / 388.8 MB, free: 34.5 MB / 298.7 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.001524/0.2463, allocations: 1.161 MB / 390 MB, free: 33.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.2464, allocations: 8.031 kB / 390 MB, free: 33.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.2468, allocations: 158.6 kB / 390.2 MB, free: 33.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.2475, allocations: 0.6133 MB / 390.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.2476, allocations: 62 kB / 390.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.2477, allocations: 87.98 kB / 390.9 MB, free: 32.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2488, allocations: 0.8184 MB / 391.7 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2488, allocations: 0 / 391.7 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.2489, allocations: 39.94 kB / 391.8 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2489, allocations: 24 kB / 391.8 MB, free: 31.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.2498, allocations: 0.5426 MB / 392.4 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.2528, allocations: 3.602 MB / 396 MB, free: 27.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004233/0.2532, allocations: 250.6 kB / 396.2 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.2535, allocations: 127.4 kB / 396.3 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.2535, allocations: 4 kB / 396.3 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2535, allocations: 30.56 kB / 396.4 MB, free: 26.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.2535, allocations: 0 / 396.4 MB, free: 26.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001649/0.2552, allocations: 1.115 MB / 397.5 MB, free: 25.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2552, allocations: 85.11 kB / 397.6 MB, free: 25.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.2559, allocations: 0.7507 MB / 398.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2559, allocations: 33.7 kB / 398.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.2562, allocations: 0.5174 MB / 398.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.076e-05/0.2562, allocations: 110.5 kB / 399 MB, free: 23.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.2562, allocations: 12 kB / 399 MB, free: 23.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.2563, allocations: 382.8 kB / 399.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.2566, allocations: 129.2 kB / 399.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.2569, allocations: 458.2 kB / 399.9 MB, free: 22.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.2572, allocations: 216.5 kB / 400.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2572, allocations: 4 kB / 400.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00086/0.2581, allocations: 0.6501 MB / 400.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2581, allocations: 12 kB / 400.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2582, allocations: 8 kB / 400.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.2583, allocations: 36.84 kB / 400.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2587, allocations: 155.7 kB / 401 MB, free: 21.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000596/0.2593, allocations: 1.296 MB / 402.3 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.2598, allocations: 48.05 kB / 402.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.2598, allocations: 32 kB / 402.4 MB, free: 20.17 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.26, allocations: 249.4 kB / 402.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.2601, allocations: 75.06 kB / 402.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.2607, allocations: 349.9 kB / 403 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2607, allocations: 4 kB / 403 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2607, allocations: 0 / 403 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2607, allocations: 3.984 kB / 403 MB, free: 19.47 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2619, allocations: 1.136 MB / 404.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.262, allocations: 0 / 404.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.2622, allocations: 72.12 kB / 404.2 MB, free: 18.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.505e-05/0.2623, allocations: 24.8 kB / 404.3 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2623, allocations: 12 kB / 404.3 MB, free: 18.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005132/0.2628, allocations: 1.268 MB / 405.5 MB, free: 16.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2629, allocations: 11.95 kB / 405.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.2636, allocations: 0.5921 MB / 406.1 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.2637, allocations: 176.2 kB / 406.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2638, allocations: 8 kB / 406.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.2642, allocations: 27.98 kB / 406.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.2643, allocations: 24.06 kB / 406.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2644, allocations: 19.97 kB / 406.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004771/0.2648, allocations: 0.5069 MB / 406.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2648, allocations: 0 / 406.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005482/0.2654, allocations: 168 kB / 407.1 MB, free: 15.17 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.2655, allocations: 131.1 kB / 407.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006778/0.2662, allocations: 488.6 kB / 407.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2662, allocations: 3.938 kB / 407.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.2665, allocations: 247.3 kB / 407.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008492/0.2674, allocations: 186 kB / 408.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.2692, allocations: 1.842 MB / 409.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2694, allocations: 0.9526 MB / 410.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2696, allocations: 59.42 kB / 411 MB, free: 11.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2696, allocations: 0 / 411 MB, free: 11.17 MB / 298.7 MB Notification: Performance of Templates: time 0.01238/0.282, allocations: 13.68 MB / 424.6 MB, free: 13.49 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches