Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001608, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001837/0.001837, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 62.03 kB / 307.9 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1219, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01132/0.1333, allocations: 7.991 MB / 366.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.1389, allocations: 2.633 MB / 369.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1401, allocations: 23.94 kB / 369.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1417, allocations: 0.5481 MB / 369.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.143, allocations: 456.4 kB / 370.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.1436, allocations: 235.7 kB / 370.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1453, allocations: 1.424 MB / 371.7 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1707/0.3161, allocations: 0.5827 MB / 372.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.3175, allocations: 0.5411 MB / 372.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.3183, allocations: 0.5813 MB / 373.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.3185, allocations: 134.8 kB / 373.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.3189, allocations: 178.9 kB / 373.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.3191, allocations: 272.7 kB / 374 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006288/0.3197, allocations: 0.6498 MB / 374.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.3218, allocations: 1.682 MB / 376.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3218, allocations: 3.312 kB / 376.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3218, allocations: 0 / 376.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.072e-05/0.3219, allocations: 0 / 376.3 MB, free: 10.21 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.00256/0.3244, allocations: 1.416 MB / 377.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3245, allocations: 10.28 kB / 377.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005854/0.3251, allocations: 169.7 kB / 377.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3262, allocations: 0.7194 MB / 378.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3262, allocations: 71.47 kB / 378.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3264, allocations: 97.27 kB / 378.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3281, allocations: 0.9225 MB / 379.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3281, allocations: 10.09 kB / 379.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.3282, allocations: 40.59 kB / 379.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.512e-05/0.3282, allocations: 23.44 kB / 379.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3294, allocations: 0.6264 MB / 380.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.3342, allocations: 3.908 MB / 384.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.3347, allocations: 361.1 kB / 384.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.335, allocations: 148.8 kB / 384.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.335, allocations: 2.75 kB / 384.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3351, allocations: 39.19 kB / 384.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.354e-06/0.3351, allocations: 0 / 384.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002171/0.3373, allocations: 1.197 MB / 386.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3373, allocations: 88.67 kB / 386.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3384, allocations: 0.823 MB / 387 MB, free: 4.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3384, allocations: 31.86 kB / 387 MB, free: 4.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.3387, allocations: 0.5645 MB / 387.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.3388, allocations: 135 kB / 387.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3389, allocations: 128.7 kB / 387.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.339, allocations: 329 kB / 388.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.3393, allocations: 151.5 kB / 388.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3397, allocations: 458.6 kB / 388.8 MB, free: 3.211 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.3404, allocations: 0.6336 MB / 389.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3404, allocations: 2.281 kB / 389.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00106/0.3415, allocations: 0.691 MB / 390.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3415, allocations: 14.25 kB / 390.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.3415, allocations: 9.906 kB / 390.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.3417, allocations: 36.75 kB / 390.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.3422, allocations: 157 kB / 390.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007183/0.3429, allocations: 1.393 MB / 391.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.3435, allocations: 38.39 kB / 391.7 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.3435, allocations: 32.5 kB / 391.8 MB, free: 0.9961 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.000316/0.3438, allocations: 265.7 kB / 392 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.344, allocations: 83.06 kB / 392.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.3446, allocations: 376.4 kB / 392.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3446, allocations: 3.281 kB / 392.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3447, allocations: 2.562 kB / 392.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3447, allocations: 0 / 392.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3465, allocations: 1.29 MB / 393.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3465, allocations: 2.281 kB / 393.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.3469, allocations: 74.8 kB / 393.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-05/0.347, allocations: 20.55 kB / 393.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.347, allocations: 12.41 kB / 393.9 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.3481, allocations: 1.374 MB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3481, allocations: 4.844 kB / 395.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.3492, allocations: 0.6323 MB / 395.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.3495, allocations: 188 kB / 396.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3496, allocations: 7.406 kB / 396.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.3499, allocations: 32.91 kB / 396.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.35, allocations: 30.98 kB / 396.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3501, allocations: 9.625 kB / 396.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000812/0.3509, allocations: 0.5605 MB / 396.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3509, allocations: 0 / 396.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.3517, allocations: 188.7 kB / 396.9 MB, free: 13.67 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.0002071/0.3519, allocations: 126.2 kB / 397 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3529, allocations: 0.5161 MB / 397.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.353, allocations: 1.375 kB / 397.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.3534, allocations: 266.5 kB / 397.8 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.3545, allocations: 215.8 kB / 398 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.3574, allocations: 1.741 MB / 399.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006451/0.3581, allocations: 0.9925 MB / 400.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.3582, allocations: 60.94 kB / 400.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3582, allocations: 0 / 400.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of Templates: time 0.02226/0.3805, allocations: 15.72 MB / 416.5 MB, free: 14.05 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches