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.001316/0.001316, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001245/0.001246, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.245/1.245, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001216/0.001216, allocations: 47.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07385, allocations: 46.61 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.1578/0.2317, allocations: 8.043 MB / 383.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.2358, allocations: 2.673 MB / 386.5 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.2367, allocations: 23.34 kB / 386.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.2382, allocations: 0.5642 MB / 387.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.2394, allocations: 461.4 kB / 387.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005121/0.24, allocations: 251.1 kB / 387.8 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.2413, allocations: 1.482 MB / 389.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.242, allocations: 0.5815 MB / 389.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.2427, allocations: 0.5551 MB / 390.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.2432, allocations: 0.5933 MB / 391 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.2434, allocations: 138.8 kB / 391.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.2438, allocations: 175.5 kB / 391.3 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2439, allocations: 277.9 kB / 391.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004907/0.2444, allocations: 0.6626 MB / 392.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.2461, allocations: 1.723 MB / 394 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2461, allocations: 0 / 394 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2461, allocations: 5.406 kB / 394 MB, free: 4.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.2462, allocations: 0 / 394 MB, free: 4.129 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.002148/0.2483, allocations: 1.449 MB / 395.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2484, allocations: 14.39 kB / 395.5 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006227/0.249, allocations: 190.1 kB / 395.6 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2501, allocations: 0.7426 MB / 396.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.786e-05/0.2501, allocations: 73.62 kB / 396.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.2502, allocations: 100.5 kB / 396.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2517, allocations: 0.9337 MB / 397.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.2517, allocations: 5.109 kB / 397.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.2518, allocations: 40.72 kB / 397.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.2518, allocations: 23.44 kB / 397.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2529, allocations: 0.6357 MB / 398.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.2573, allocations: 3.885 MB / 402.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.2579, allocations: 435 kB / 402.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005501/0.2585, allocations: 272.9 kB / 402.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.2585, allocations: 5.297 kB / 402.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.2585, allocations: 42.28 kB / 402.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.2585, allocations: 0 / 402.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002474/0.261, allocations: 1.397 MB / 404.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.2611, allocations: 85.98 kB / 404.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.2621, allocations: 0.8252 MB / 405.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.2622, allocations: 36.98 kB / 405.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.2626, allocations: 0.5475 MB / 405.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2627, allocations: 161.5 kB / 405.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.2629, allocations: 132.6 kB / 406 MB, free: 12.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.263, allocations: 332.1 kB / 406.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.2633, allocations: 172.4 kB / 406.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.2638, allocations: 459.7 kB / 406.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.2647, allocations: 0.6579 MB / 407.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2647, allocations: 2.344 kB / 407.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001345/0.2661, allocations: 0.7701 MB / 408.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2661, allocations: 8.656 kB / 408.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.2661, allocations: 9.812 kB / 408.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.2664, allocations: 87.02 kB / 408.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.2669, allocations: 160.8 kB / 408.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.2692, allocations: 3.133 MB / 411.8 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.2698, allocations: 36.73 kB / 411.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.2699, allocations: 31.91 kB / 411.8 MB, free: 7.344 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.000407/0.2703, allocations: 276.2 kB / 412.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.2705, allocations: 84.12 kB / 412.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000935/0.2714, allocations: 492.5 kB / 412.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2714, allocations: 12.81 kB / 412.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2714, allocations: 1.562 kB / 412.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2715, allocations: 3.984 kB / 412.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.2737, allocations: 1.428 MB / 414.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.2738, allocations: 6.484 kB / 414.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2741, allocations: 69.81 kB / 414.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.2743, allocations: 72.33 kB / 414.2 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.2743, allocations: 12.12 kB / 414.3 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.2766, allocations: 3.123 MB / 417.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2766, allocations: 2.719 kB / 417.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2778, allocations: 0.7659 MB / 418.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.2782, allocations: 200.5 kB / 418.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.2784, allocations: 13.12 kB / 418.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.2789, allocations: 34.66 kB / 418.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.279, allocations: 34.42 kB / 418.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.279, allocations: 14.62 kB / 418.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008144/0.2798, allocations: 0.5613 MB / 419 MB, free: 1.398 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2799, allocations: 0 / 419 MB, free: 1.398 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008945/0.2808, allocations: 209.4 kB / 419.2 MB, free: 1.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (38): * Single equations (assignments): 36 * 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 Backend phase and start with SimCode phase: time 0.0002099/0.281, allocations: 129.9 kB / 419.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2821, allocations: 0.6891 MB / 420 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2821, allocations: 2.125 kB / 420 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.2827, allocations: 442.2 kB / 420.5 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2839, allocations: 235.9 kB / 420.7 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2868, allocations: 1.747 MB / 422.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.2874, allocations: 0.9996 MB / 423.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.2876, allocations: 67.27 kB / 423.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2876, allocations: 0 / 423.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Templates: time 0.02422/0.3118, allocations: 20.96 MB / 444.5 MB, free: 9.418 MB / 366.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