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.001247/0.001247, allocations: 178 kB / 16.41 MB, free: 5.707 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.528/1.528, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007578/0.0007578, allocations: 94.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 12 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006031/0.2331, allocations: 6.983 MB / 381.5 MB, free: 39.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.2367, allocations: 2.458 MB / 384 MB, free: 37.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.2372, allocations: 23.66 kB / 384 MB, free: 37.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000981/0.2382, allocations: 458.1 kB / 384.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006848/0.2389, allocations: 381.4 kB / 384.8 MB, free: 37.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.2392, allocations: 146.2 kB / 385 MB, free: 37.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2403, allocations: 1.289 MB / 386.3 MB, free: 36.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.241, allocations: 433.1 kB / 386.7 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.2415, allocations: 440.7 kB / 387.1 MB, free: 35.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.242, allocations: 493.4 kB / 387.6 MB, free: 35.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.2421, allocations: 63.91 kB / 387.7 MB, free: 35.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.2424, allocations: 104.6 kB / 387.8 MB, free: 35.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2425, allocations: 182.7 kB / 388 MB, free: 35.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2427, allocations: 258 kB / 388.2 MB, free: 35.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.2435, allocations: 1.336 MB / 389.5 MB, free: 33.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2435, allocations: 3.938 kB / 389.5 MB, free: 33.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2435, allocations: 0 / 389.5 MB, free: 33.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.2435, allocations: 0 / 389.5 MB, free: 33.8 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001629/0.2452, allocations: 1.246 MB / 390.8 MB, free: 32.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2452, allocations: 8.031 kB / 390.8 MB, free: 32.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.2457, allocations: 174.4 kB / 391 MB, free: 32.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.2465, allocations: 0.6952 MB / 391.7 MB, free: 31.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.2465, allocations: 70 kB / 391.7 MB, free: 31.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2466, allocations: 95.91 kB / 391.8 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.2479, allocations: 0.9268 MB / 392.8 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.248, allocations: 8 kB / 392.8 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.248, allocations: 36 kB / 392.8 MB, free: 30.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.2481, allocations: 24 kB / 392.8 MB, free: 30.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2491, allocations: 0.6325 MB / 393.5 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.2527, allocations: 3.926 MB / 397.4 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.2531, allocations: 366.1 kB / 397.7 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.2534, allocations: 156.5 kB / 397.9 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.2534, allocations: 11.92 kB / 397.9 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2535, allocations: 34.56 kB / 397.9 MB, free: 25.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.2535, allocations: 0 / 397.9 MB, free: 25.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001798/0.2553, allocations: 1.223 MB / 399.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2553, allocations: 85.09 kB / 399.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.2561, allocations: 0.8135 MB / 400.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2561, allocations: 33.7 kB / 400.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.2564, allocations: 0.5718 MB / 400.7 MB, free: 22.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.2564, allocations: 126.2 kB / 400.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.2565, allocations: 16 kB / 400.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.2565, allocations: 333.9 kB / 401.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2568, allocations: 153.9 kB / 401.3 MB, free: 21.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.2572, allocations: 460 kB / 401.7 MB, free: 20.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.2575, allocations: 240.3 kB / 402 MB, free: 20.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2575, allocations: 4 kB / 402 MB, free: 20.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009366/0.2585, allocations: 0.7003 MB / 402.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2585, allocations: 8 kB / 402.7 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2585, allocations: 12 kB / 402.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.2587, allocations: 33.11 kB / 402.7 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.2591, allocations: 163.7 kB / 402.9 MB, free: 19.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006434/0.2598, allocations: 1.295 MB / 404.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.2602, allocations: 35.98 kB / 404.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.2602, allocations: 32 kB / 404.2 MB, free: 18.3 MB / 298.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.0002556/0.2605, allocations: 261.6 kB / 404.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.2606, allocations: 82.97 kB / 404.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000608/0.2612, allocations: 394.1 kB / 405 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2612, allocations: 0 / 405 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.2612, allocations: 4 kB / 405 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2612, allocations: 0 / 405 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2626, allocations: 1.292 MB / 406.3 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2626, allocations: 4.031 kB / 406.3 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.2629, allocations: 83.83 kB / 406.3 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-05/0.263, allocations: 20.86 kB / 406.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.263, allocations: 11.98 kB / 406.4 MB, free: 16.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005204/0.2635, allocations: 1.272 MB / 407.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2635, allocations: 0 / 407.6 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.2643, allocations: 0.6512 MB / 408.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2645, allocations: 188.1 kB / 408.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.2646, allocations: 12 kB / 408.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.2649, allocations: 31.97 kB / 408.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.265, allocations: 31.86 kB / 408.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.265, allocations: 12 kB / 408.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005504/0.2656, allocations: 0.5576 MB / 409.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2656, allocations: 0 / 409.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.2661, allocations: 188 kB / 409.3 MB, free: 12.93 MB / 298.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.0001654/0.2663, allocations: 111.2 kB / 409.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.2671, allocations: 0.5221 MB / 409.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2671, allocations: 0 / 409.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2674, allocations: 280.5 kB / 410.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.2684, allocations: 206.6 kB / 410.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.2705, allocations: 2.135 MB / 412.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2708, allocations: 0.9923 MB / 413.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.271, allocations: 63.44 kB / 413.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.271, allocations: 0 / 413.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of Templates: time 0.016/0.287, allocations: 15.58 MB / 429.2 MB, free: 8.945 MB / 314.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/jenkins/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