Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001154/0.001154, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 59.38 kB / 306.3 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.0923, allocations: 50.53 MB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008532/0.1009, allocations: 7.982 MB / 364.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.1048, allocations: 2.607 MB / 367.4 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005458/0.1054, allocations: 23.94 kB / 367.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.1066, allocations: 494 kB / 367.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007637/0.1074, allocations: 397.2 kB / 368.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1078, allocations: 207.8 kB / 368.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1089, allocations: 1.358 MB / 369.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006375/0.1095, allocations: 0.4928 MB / 370.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1101, allocations: 0.4938 MB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1565/0.2666, allocations: 0.5356 MB / 371.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005403/0.2672, allocations: 83.69 kB / 371.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.268, allocations: 126.6 kB / 371.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.2683, allocations: 225.6 kB / 371.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008053/0.2691, allocations: 0.5965 MB / 372.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.271, allocations: 1.633 MB / 374 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.271, allocations: 0 / 374 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.271, allocations: 0 / 374 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.2711, allocations: 0.9688 kB / 374 MB, free: 10.75 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.002634/0.2737, allocations: 1.431 MB / 375.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2737, allocations: 9.562 kB / 375.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.2743, allocations: 172.8 kB / 375.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.2753, allocations: 0.7158 MB / 376.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.2754, allocations: 73.16 kB / 376.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2755, allocations: 99.05 kB / 376.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.2771, allocations: 0.9191 MB / 377.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.2771, allocations: 9.719 kB / 377.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.2772, allocations: 37.72 kB / 377.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.2772, allocations: 26.19 kB / 377.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2784, allocations: 0.6252 MB / 378.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004409/0.2829, allocations: 3.913 MB / 382 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.2834, allocations: 361 kB / 382.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.2836, allocations: 143.7 kB / 382.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2837, allocations: 8.281 kB / 382.5 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2837, allocations: 37.88 kB / 382.6 MB, free: 6.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.2837, allocations: 4 kB / 382.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.00199/0.2857, allocations: 1.19 MB / 383.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2857, allocations: 85.48 kB / 383.9 MB, free: 5.949 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.2867, allocations: 0.8231 MB / 384.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2868, allocations: 31.83 kB / 384.7 MB, free: 5.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.2871, allocations: 0.5638 MB / 385.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.2871, allocations: 136.3 kB / 385.4 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2873, allocations: 126.9 kB / 385.5 MB, free: 4.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.2874, allocations: 328.9 kB / 385.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.2877, allocations: 151.8 kB / 386 MB, free: 4.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.2881, allocations: 466.4 kB / 386.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.2888, allocations: 0.6282 MB / 387.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2888, allocations: 2.406 kB / 387.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001068/0.2899, allocations: 0.686 MB / 387.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.2899, allocations: 12.06 kB / 387.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.2899, allocations: 9.969 kB / 387.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.2901, allocations: 43.91 kB / 387.8 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.2906, allocations: 159.3 kB / 388 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.2913, allocations: 1.295 MB / 389.3 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.2918, allocations: 37.17 kB / 389.3 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2919, allocations: 32.75 kB / 389.4 MB, free: 1.996 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.0003076/0.2922, allocations: 256 kB / 389.6 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2923, allocations: 88.41 kB / 389.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.293, allocations: 378.4 kB / 390.1 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.293, allocations: 8.188 kB / 390.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.293, allocations: 0 / 390.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.293, allocations: 1.125 kB / 390.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.2946, allocations: 1.266 MB / 391.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2946, allocations: 9.156 kB / 391.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.2949, allocations: 71.08 kB / 391.4 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/0.295, allocations: 24.89 kB / 391.4 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2951, allocations: 7.562 kB / 391.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006895/0.2958, allocations: 1.282 MB / 392.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2958, allocations: 2.219 kB / 392.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2968, allocations: 0.6272 MB / 393.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.2971, allocations: 197.7 kB / 393.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.2972, allocations: 7.688 kB / 393.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.2976, allocations: 23.2 kB / 393.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.2977, allocations: 24.62 kB / 393.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2977, allocations: 15.38 kB / 393.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008281/0.2985, allocations: 0.562 MB / 394.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2986, allocations: 0 / 394.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007821/0.2993, allocations: 188.3 kB / 394.4 MB, free: 14.7 MB / 318.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.0002391/0.2996, allocations: 129.7 kB / 394.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009721/0.3006, allocations: 0.5064 MB / 395 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3006, allocations: 1.375 kB / 395 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.3011, allocations: 260.5 kB / 395.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3023, allocations: 200.5 kB / 395.4 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.3063, allocations: 2.114 MB / 397.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009415/0.3073, allocations: 0.9966 MB / 398.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005432/0.3078, allocations: 100.3 kB / 398.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.308, allocations: 53.34 kB / 398.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.308, allocations: 0 / 398.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of Templates: time 0.02083/0.3288, allocations: 9.019 MB / 407.7 MB, free: 5.996 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches