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.0008224/0.0008224, allocations: 93.53 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001023, allocations: 205.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.7 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002413/0.0002414, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.008887/0.11, allocations: 7.581 MB / 366.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.1144, allocations: 2.615 MB / 369.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008574/0.1153, allocations: 19.94 kB / 369.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1168, allocations: 0.4981 MB / 370 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.1182, allocations: 401.2 kB / 370.4 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.1187, allocations: 215.8 kB / 370.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1206, allocations: 1.401 MB / 372 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1625/0.283, allocations: 0.4905 MB / 372.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.2842, allocations: 469.4 kB / 372.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.2849, allocations: 0.5155 MB / 373.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.285, allocations: 64.88 kB / 373.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.2853, allocations: 106.3 kB / 373.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.2855, allocations: 200.6 kB / 373.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.2861, allocations: 0.6001 MB / 374.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.2879, allocations: 1.615 MB / 376 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.288, allocations: 0 / 376 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.288, allocations: 1.5 kB / 376 MB, free: 9.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.288, allocations: 0 / 376 MB, free: 9.723 MB / 302.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.002121/0.2901, allocations: 1.255 MB / 377.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2902, allocations: 9.625 kB / 377.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006326/0.2908, allocations: 189.9 kB / 377.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2919, allocations: 0.73 MB / 378.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.2919, allocations: 73.84 kB / 378.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.2921, allocations: 105.4 kB / 378.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.2939, allocations: 0.9386 MB / 379.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/0.2939, allocations: 2 kB / 379.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.294, allocations: 43.62 kB / 379.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.2941, allocations: 23.88 kB / 379.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2955, allocations: 0.6414 MB / 380 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00535/0.3008, allocations: 3.947 MB / 384 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.3016, allocations: 455.1 kB / 384.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.3023, allocations: 265.4 kB / 384.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.3023, allocations: 4.797 kB / 384.7 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3024, allocations: 40.75 kB / 384.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.3024, allocations: 0 / 384.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.003056/0.3054, allocations: 1.414 MB / 386.1 MB, free: 5.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3055, allocations: 86.27 kB / 386.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.3068, allocations: 0.8268 MB / 387.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3069, allocations: 36.17 kB / 387.1 MB, free: 4.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.3073, allocations: 0.5581 MB / 387.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3074, allocations: 156.2 kB / 387.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.3075, allocations: 60.61 kB / 387.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.3076, allocations: 335.9 kB / 388.2 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.3079, allocations: 170.2 kB / 388.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.3083, allocations: 466.3 kB / 388.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.3091, allocations: 0.6692 MB / 389.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3092, allocations: 2.75 kB / 389.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001455/0.3106, allocations: 0.7787 MB / 390.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.3107, allocations: 10.06 kB / 390.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.3107, allocations: 8.812 kB / 390.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.311, allocations: 86.31 kB / 390.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.3116, allocations: 153.7 kB / 390.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.3137, allocations: 2.872 MB / 393.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.3144, allocations: 38.58 kB / 393.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.3145, allocations: 40.44 kB / 393.5 MB, free: 15.86 MB / 318.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.0005272/0.315, allocations: 266.5 kB / 393.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.3151, allocations: 89.31 kB / 393.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009996/0.3161, allocations: 493.3 kB / 394.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3161, allocations: 3.719 kB / 394.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3162, allocations: 7.125 kB / 394.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3162, allocations: 0 / 394.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.3189, allocations: 1.455 MB / 395.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.319, allocations: 1.688 kB / 395.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3193, allocations: 82.67 kB / 395.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.3195, allocations: 72.11 kB / 395.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3195, allocations: 8.375 kB / 395.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.3217, allocations: 2.869 MB / 398.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3217, allocations: 2.75 kB / 398.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.3229, allocations: 0.7749 MB / 399.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.3233, allocations: 196.8 kB / 399.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.3235, allocations: 17.48 kB / 399.8 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.324, allocations: 29.52 kB / 399.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.3241, allocations: 34.36 kB / 399.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3241, allocations: 10.81 kB / 399.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009922/0.3251, allocations: 0.572 MB / 400.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3251, allocations: 0 / 400.4 MB, free: 10.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001078/0.3262, allocations: 206.1 kB / 400.6 MB, free: 10.47 MB / 318.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.0002649/0.3265, allocations: 112 kB / 400.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.3278, allocations: 0.7024 MB / 401.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3278, allocations: 3.156 kB / 401.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006677/0.3284, allocations: 439.4 kB / 401.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.3299, allocations: 212.8 kB / 402.1 MB, free: 9.547 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.3332, allocations: 2.226 MB / 404.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.3339, allocations: 1.008 MB / 405.3 MB, free: 7.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004798/0.3344, allocations: 106.5 kB / 405.4 MB, free: 7.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.3345, allocations: 56.03 kB / 405.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3345, allocations: 0 / 405.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of Templates: time 0.01913/0.3536, allocations: 9.975 MB / 415.4 MB, free: 14.64 MB / 334.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