Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 117.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001087, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2671, allocations: 50.55 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009196/0.2763, allocations: 8.09 MB / 417.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.2802, allocations: 2.665 MB / 420 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.2808, allocations: 27.94 kB / 420 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.282, allocations: 0.548 MB / 420.6 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.2828, allocations: 464.3 kB / 421 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.2832, allocations: 259.7 kB / 421.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2845, allocations: 1.467 MB / 422.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.2852, allocations: 0.5846 MB / 423.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.2859, allocations: 0.5603 MB / 423.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.2866, allocations: 0.5988 MB / 424.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.2868, allocations: 136 kB / 424.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.2871, allocations: 180 kB / 424.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.2873, allocations: 275 kB / 425.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.2878, allocations: 0.6609 MB / 425.7 MB, free: 1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.2894, allocations: 1.73 MB / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2894, allocations: 0 / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2894, allocations: 0 / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.2894, allocations: 0 / 427.5 MB, free: 15.27 MB / 350.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.002315/0.2917, allocations: 1.453 MB / 428.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2918, allocations: 12.03 kB / 428.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.2924, allocations: 187.3 kB / 429.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.2936, allocations: 0.7379 MB / 429.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.082e-05/0.2937, allocations: 74 kB / 429.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.2938, allocations: 99.91 kB / 430 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.2952, allocations: 0.9386 MB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.2952, allocations: 4 kB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.2953, allocations: 44 kB / 431 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2953, allocations: 24 kB / 431 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2964, allocations: 0.6324 MB / 431.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.3011, allocations: 3.883 MB / 435.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.3019, allocations: 448.1 kB / 436 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/0.3024, allocations: 269.3 kB / 436.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.3025, allocations: 4.328 kB / 436.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3025, allocations: 42.89 kB / 436.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.3025, allocations: 0 / 436.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002612/0.3051, allocations: 1.401 MB / 437.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3052, allocations: 81.11 kB / 437.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.3062, allocations: 0.8291 MB / 438.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.3063, allocations: 33.7 kB / 438.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.3067, allocations: 0.5565 MB / 439.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3068, allocations: 161.8 kB / 439.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.307, allocations: 126.6 kB / 439.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3072, allocations: 334 kB / 439.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.3075, allocations: 161.9 kB / 440 MB, free: 2.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.308, allocations: 460 kB / 440.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/0.309, allocations: 0.6661 MB / 441.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.309, allocations: 0 / 441.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001196/0.3102, allocations: 0.7743 MB / 441.9 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3102, allocations: 8 kB / 441.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3102, allocations: 12 kB / 441.9 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.3105, allocations: 89.95 kB / 442 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.311, allocations: 151.7 kB / 442.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3134, allocations: 3.138 MB / 445.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.314, allocations: 40.05 kB / 445.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.314, allocations: 32 kB / 445.3 MB, free: 12.33 MB / 366.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.000365/0.3144, allocations: 258.8 kB / 445.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3145, allocations: 94.88 kB / 445.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008753/0.3154, allocations: 495.6 kB / 446.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3154, allocations: 4 kB / 446.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3154, allocations: 4 kB / 446.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3154, allocations: 4 kB / 446.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.3175, allocations: 1.435 MB / 447.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3175, allocations: 0 / 447.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003055/0.3178, allocations: 67.91 kB / 447.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.3181, allocations: 73.67 kB / 447.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.3181, allocations: 12.19 kB / 447.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.3204, allocations: 3.127 MB / 450.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3204, allocations: 3.938 kB / 450.9 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3216, allocations: 0.7738 MB / 451.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.3218, allocations: 196 kB / 451.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.3219, allocations: 19.94 kB / 451.9 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.3223, allocations: 23.92 kB / 451.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.3224, allocations: 39.89 kB / 451.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/0.3224, allocations: 16 kB / 451.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007525/0.3232, allocations: 0.5615 MB / 452.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3232, allocations: 0 / 452.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008055/0.324, allocations: 207.9 kB / 452.7 MB, free: 4.492 MB / 366.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.0002069/0.3242, allocations: 123.4 kB / 452.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3255, allocations: 0.6861 MB / 453.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3255, allocations: 0 / 453.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006483/0.3261, allocations: 442.9 kB / 453.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3272, allocations: 230.3 kB / 454.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.3301, allocations: 1.71 MB / 455.9 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3307, allocations: 1.005 MB / 456.9 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003941/0.3311, allocations: 103.2 kB / 457 MB, free: 84 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3313, allocations: 59.42 kB / 457 MB, free: 24 kB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3313, allocations: 0 / 457 MB, free: 24 kB / 366.1 MB Notification: Performance of Templates: time 0.02007/0.3514, allocations: 10.69 MB / 467.7 MB, free: 5.449 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches