Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00707/0.007069, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.096/4.096, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001876/0.001875, allocations: 98.77 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007824/0.0007833, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.206, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01691/0.223, allocations: 6.353 MB / 380.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00884/0.2319, allocations: 2.509 MB / 383.4 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.2338, allocations: 19.94 kB / 383.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.237, allocations: 465.8 kB / 383.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.2402, allocations: 466.6 kB / 384.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.2416, allocations: 151.8 kB / 384.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004074/0.2457, allocations: 1.01 MB / 385.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.2473, allocations: 423.3 kB / 385.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.2492, allocations: 430.2 kB / 386.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.2513, allocations: 461.8 kB / 386.8 MB, free: 3.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005874/0.252, allocations: 60 kB / 386.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2533, allocations: 103.9 kB / 386.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.2537, allocations: 175.3 kB / 387.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000798/0.2545, allocations: 257.1 kB / 387.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003971/0.2585, allocations: 1.285 MB / 388.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2586, allocations: 4 kB / 388.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.329e-06/0.2586, allocations: 0 / 388.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.2587, allocations: 0 / 388.7 MB, free: 1.254 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.4098/0.6685, allocations: 1.227 MB / 389.9 MB, free: 20.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.675e-05/0.6686, allocations: 8.625 kB / 389.9 MB, free: 20.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.6701, allocations: 155.9 kB / 390 MB, free: 20.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.6738, allocations: 0.6839 MB / 390.7 MB, free: 19.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.6741, allocations: 71.34 kB / 390.8 MB, free: 19.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005524/0.6747, allocations: 103.3 kB / 390.9 MB, free: 19.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.6799, allocations: 0.9189 MB / 391.8 MB, free: 19.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.6801, allocations: 4.672 kB / 391.8 MB, free: 19.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.6803, allocations: 42.19 kB / 391.9 MB, free: 19.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.6804, allocations: 23.22 kB / 391.9 MB, free: 19.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.6846, allocations: 0.6316 MB / 392.5 MB, free: 19.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.6995, allocations: 3.879 MB / 396.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.7011, allocations: 356.4 kB / 396.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.7012, allocations: 6.031 kB / 396.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.7013, allocations: 37.72 kB / 396.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 5.361e-06/0.7013, allocations: 0 / 396.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.006224/0.7075, allocations: 1.222 MB / 398 MB, free: 15.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.7077, allocations: 81.72 kB / 398.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/0.7106, allocations: 0.7646 MB / 398.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.7108, allocations: 30.67 kB / 398.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/0.7115, allocations: 0.5836 MB / 399.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.7118, allocations: 126.9 kB / 399.6 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.7119, allocations: 14.47 kB / 399.6 MB, free: 14.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7121, allocations: 337.2 kB / 399.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/0.713, allocations: 152 kB / 400.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.7143, allocations: 459.8 kB / 400.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.7155, allocations: 239 kB / 400.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.7156, allocations: 3.25 kB / 400.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003354/0.719, allocations: 0.6361 MB / 401.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.7191, allocations: 13.52 kB / 401.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/0.7192, allocations: 11.16 kB / 401.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/0.7195, allocations: 35.3 kB / 401.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.7212, allocations: 169.4 kB / 401.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.7231, allocations: 1.297 MB / 402.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.7248, allocations: 41.92 kB / 403 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.7251, allocations: 31.75 kB / 403 MB, free: 12.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.001134/0.7263, allocations: 260.6 kB / 403.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/0.7267, allocations: 83.75 kB / 403.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.7288, allocations: 386.2 kB / 403.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.7288, allocations: 3.875 kB / 403.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.7289, allocations: 2.156 kB / 403.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.7289, allocations: 1.219 kB / 403.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.7345, allocations: 1.247 MB / 405 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.7346, allocations: 2.438 kB / 405 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.7356, allocations: 76.78 kB / 405 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.7359, allocations: 22.56 kB / 405.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.736, allocations: 9.125 kB / 405.1 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.7377, allocations: 1.293 MB / 406.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.7378, allocations: 3.594 kB / 406.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.7408, allocations: 0.7237 MB / 407.1 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.7417, allocations: 181.7 kB / 407.3 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.742, allocations: 8.375 kB / 407.3 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.7432, allocations: 34.78 kB / 407.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.7434, allocations: 25.34 kB / 407.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.7435, allocations: 8.438 kB / 407.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001865/0.7454, allocations: 0.5112 MB / 407.9 MB, free: 8.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.7455, allocations: 0 / 407.9 MB, free: 8.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002277/0.7478, allocations: 194.9 kB / 408 MB, free: 8.613 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.0004213/0.7483, allocations: 122.1 kB / 408.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.7509, allocations: 0.5187 MB / 408.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.751, allocations: 1 kB / 408.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.7522, allocations: 271.2 kB / 408.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/0.7551, allocations: 192.6 kB / 409.1 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007777/0.7629, allocations: 2.119 MB / 411.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.764, allocations: 1.024 MB / 412.3 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/0.7645, allocations: 55.38 kB / 412.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of SimCode: time 2.294e-06/0.7646, allocations: 0.7656 kB / 412.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of Templates: time 0.04982/0.8144, allocations: 14.83 MB / 427.2 MB, free: 9.57 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches