Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 109.4 kB / 17.28 MB, free: 6.199 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.001812/0.001812, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009747/0.0009748, allocations: 47.52 kB / 300.8 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.0858, allocations: 49.45 MB / 350.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008186/0.09402, allocations: 7.95 MB / 358.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.0981, allocations: 2.575 MB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008494/0.09898, allocations: 23.94 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.1006, allocations: 498.1 kB / 361.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.1019, allocations: 393.2 kB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.1025, allocations: 203.9 kB / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.1042, allocations: 1.436 MB / 363.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008072/0.105, allocations: 0.5962 MB / 363.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/0.1058, allocations: 0.5329 MB / 364.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.1065, allocations: 0.5794 MB / 365 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.1067, allocations: 136 kB / 365.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.107, allocations: 172 kB / 365.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.1072, allocations: 275 kB / 365.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.1078, allocations: 0.6532 MB / 366.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1089, allocations: 1.383 MB / 367.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.109, allocations: 0 / 367.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.109, allocations: 4 kB / 367.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.109, allocations: 0 / 367.6 MB, free: 3.281 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002123/0.1111, allocations: 1.433 MB / 369 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1112, allocations: 8.031 kB / 369.1 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/0.1117, allocations: 171.3 kB / 369.2 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.1126, allocations: 0.7183 MB / 369.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.1127, allocations: 74 kB / 370 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1128, allocations: 99.98 kB / 370.1 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1615/0.2743, allocations: 0.9098 MB / 371 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.2744, allocations: 14.83 kB / 371 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.2745, allocations: 38.34 kB / 371.1 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.2745, allocations: 23.66 kB / 371.1 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.276, allocations: 0.6215 MB / 371.7 MB, free: 25.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/0.2812, allocations: 3.914 MB / 375.6 MB, free: 22.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.2818, allocations: 351 kB / 376 MB, free: 22.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.2821, allocations: 149.1 kB / 376.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.2821, allocations: 3.062 kB / 376.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2822, allocations: 36.84 kB / 376.2 MB, free: 22.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.205e-06/0.2822, allocations: 1.281 kB / 376.2 MB, free: 22.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002233/0.2844, allocations: 1.19 MB / 377.3 MB, free: 21.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2845, allocations: 86.56 kB / 377.4 MB, free: 21.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.2855, allocations: 0.8174 MB / 378.2 MB, free: 21.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2855, allocations: 31.08 kB / 378.3 MB, free: 21.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.2859, allocations: 0.5695 MB / 378.8 MB, free: 20.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.2859, allocations: 135.3 kB / 379 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2861, allocations: 126.6 kB / 379.1 MB, free: 20.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.2862, allocations: 333.1 kB / 379.4 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.2865, allocations: 144.2 kB / 379.6 MB, free: 20.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.2869, allocations: 470.2 kB / 380 MB, free: 19.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.2876, allocations: 0.6274 MB / 380.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2876, allocations: 7.938 kB / 380.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001089/0.2887, allocations: 0.6899 MB / 381.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.2887, allocations: 9.516 kB / 381.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.2887, allocations: 10.19 kB / 381.4 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.2889, allocations: 34.16 kB / 381.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.2894, allocations: 155.8 kB / 381.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008452/0.2903, allocations: 1.397 MB / 383 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.2908, allocations: 33.73 kB / 383 MB, free: 17.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.2909, allocations: 37.45 kB / 383 MB, free: 17.29 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.2913, allocations: 260.9 kB / 383.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2914, allocations: 80.05 kB / 383.4 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.2921, allocations: 377.4 kB / 383.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2921, allocations: 4.641 kB / 383.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2921, allocations: 1.469 kB / 383.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2921, allocations: 2.391 kB / 383.7 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2939, allocations: 1.269 MB / 385 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2939, allocations: 5.781 kB / 385 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.2942, allocations: 73.33 kB / 385.1 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.09e-05/0.2943, allocations: 23.95 kB / 385.1 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2943, allocations: 8.188 kB / 385.1 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000629/0.295, allocations: 1.376 MB / 386.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.295, allocations: 5.156 kB / 386.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.2959, allocations: 0.6347 MB / 387.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.2962, allocations: 188.2 kB / 387.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.2963, allocations: 9.141 kB / 387.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.2966, allocations: 25.66 kB / 387.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.2967, allocations: 32.41 kB / 387.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.2967, allocations: 14.39 kB / 387.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007788/0.2975, allocations: 0.5598 MB / 388 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2975, allocations: 0 / 388 MB, free: 13.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008628/0.2984, allocations: 188.8 kB / 388.1 MB, free: 13.84 MB / 302.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002044/0.2986, allocations: 127.3 kB / 388.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2998, allocations: 0.5154 MB / 388.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.2998, allocations: 1.188 kB / 388.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.3002, allocations: 265.1 kB / 389 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3013, allocations: 212.9 kB / 389.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.3043, allocations: 2.139 MB / 391.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.3048, allocations: 0.9909 MB / 392.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.305, allocations: 57.97 kB / 392.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.653e-06/0.305, allocations: 7.938 kB / 392.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Templates: time 0.02054/0.3256, allocations: 15.71 MB / 408.1 MB, free: 15.37 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches