Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 106.2 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 185.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07426, allocations: 46.6 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1609/0.2352, allocations: 8.039 MB / 383.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.2386, allocations: 2.676 MB / 386.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.239, allocations: 23.16 kB / 386.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2402, allocations: 0.5844 MB / 387.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007823/0.241, allocations: 0.494 MB / 387.6 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2414, allocations: 248.7 kB / 387.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2425, allocations: 1.471 MB / 389.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000654/0.2431, allocations: 0.5764 MB / 389.9 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.2437, allocations: 0.5661 MB / 390.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.2442, allocations: 0.59 MB / 391.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.2444, allocations: 138.4 kB / 391.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.2447, allocations: 175.4 kB / 391.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2449, allocations: 282.1 kB / 391.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.2454, allocations: 0.6669 MB / 392.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.2469, allocations: 1.722 MB / 394.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2469, allocations: 0 / 394.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2469, allocations: 1.031 kB / 394.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.2469, allocations: 0 / 394.1 MB, free: 4.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002104/0.2491, allocations: 1.446 MB / 395.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2491, allocations: 16.61 kB / 395.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006371/0.2497, allocations: 186.6 kB / 395.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2508, allocations: 0.7438 MB / 396.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.2509, allocations: 70.28 kB / 396.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.251, allocations: 104.5 kB / 396.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.2525, allocations: 0.9377 MB / 397.6 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.2525, allocations: 7.781 kB / 397.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/0.2526, allocations: 40.31 kB / 397.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.2526, allocations: 24.75 kB / 397.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.2538, allocations: 0.6345 MB / 398.3 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.2581, allocations: 3.881 MB / 402.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.2588, allocations: 435.5 kB / 402.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.2593, allocations: 272.3 kB / 402.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.2594, allocations: 9.156 kB / 402.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2594, allocations: 34.58 kB / 402.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.2594, allocations: 1.375 kB / 402.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002561/0.262, allocations: 1.4 MB / 404.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.262, allocations: 81.23 kB / 404.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.2631, allocations: 0.8343 MB / 405.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.2631, allocations: 31.23 kB / 405.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.2635, allocations: 0.5519 MB / 405.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2636, allocations: 158 kB / 405.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.2639, allocations: 132.6 kB / 406.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.264, allocations: 332.9 kB / 406.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.2643, allocations: 163.6 kB / 406.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.2648, allocations: 463.5 kB / 407 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008518/0.2657, allocations: 0.6616 MB / 407.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2657, allocations: 3.344 kB / 407.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00126/0.2669, allocations: 0.7654 MB / 408.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.267, allocations: 21.67 kB / 408.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.267, allocations: 13.2 kB / 408.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.2673, allocations: 75.06 kB / 408.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.2678, allocations: 164.7 kB / 408.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.27, allocations: 3.133 MB / 411.8 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.2705, allocations: 36.86 kB / 411.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/0.2706, allocations: 32.16 kB / 411.9 MB, free: 7.293 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003408/0.2709, allocations: 268 kB / 412.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2711, allocations: 87.97 kB / 412.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009169/0.272, allocations: 496.6 kB / 412.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.272, allocations: 3.984 kB / 412.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.272, allocations: 5.562 kB / 412.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.2723, allocations: 198.8 kB / 412.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.2724, allocations: 10.3 kB / 412.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.2728, allocations: 25.39 kB / 413 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.2729, allocations: 31.36 kB / 413 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001073/0.274, allocations: 0.5081 MB / 413.5 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001036/0.275, allocations: 0.7402 MB / 414.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002666/0.2753, allocations: 138.1 kB / 414.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007359/0.276, allocations: 0.5648 MB / 414.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.276, allocations: 0 / 414.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.2774, allocations: 0.6655 MB / 415.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of SimCode: time 0.002967/0.2804, allocations: 2.26 MB / 417.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of Templates: time 0.01839/0.2988, allocations: 11.43 MB / 429.3 MB, free: 9.059 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches