Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001438/0.001438, allocations: 111.7 kB / 17.73 MB, free: 5.359 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.001697/0.001697, allocations: 188.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 46.62 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.2725/0.3895, allocations: 7.932 MB / 383.1 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.3953, allocations: 2.622 MB / 385.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.3974, allocations: 23.56 kB / 385.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.3999, allocations: 0.5876 MB / 386.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.4027, allocations: 487.8 kB / 386.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.4035, allocations: 244.7 kB / 387 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.4065, allocations: 1.437 MB / 388.5 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.4079, allocations: 0.586 MB / 389.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4095, allocations: 0.5395 MB / 389.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008362/0.4103, allocations: 0.5844 MB / 390.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.4105, allocations: 135.7 kB / 390.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.4111, allocations: 171.8 kB / 390.5 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4113, allocations: 277.3 kB / 390.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.412, allocations: 0.6471 MB / 391.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.4147, allocations: 1.699 MB / 393.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4147, allocations: 0 / 393.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4147, allocations: 0 / 393.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.592e-05/0.4148, allocations: 0 / 393.1 MB, free: 4.242 MB / 318.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.003049/0.4178, allocations: 1.427 MB / 394.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4179, allocations: 9.375 kB / 394.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006379/0.4185, allocations: 171.8 kB / 394.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4199, allocations: 0.7313 MB / 395.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.42, allocations: 72.83 kB / 395.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.4201, allocations: 98.78 kB / 395.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.422, allocations: 0.92 MB / 396.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.4221, allocations: 6.625 kB / 396.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/0.4222, allocations: 41.53 kB / 396.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.4222, allocations: 22.78 kB / 396.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.4235, allocations: 0.6247 MB / 397.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.429, allocations: 3.875 MB / 401.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.4297, allocations: 354.3 kB / 401.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.43, allocations: 146.2 kB / 401.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.43, allocations: 2.469 kB / 401.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.4301, allocations: 37.06 kB / 401.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.4301, allocations: 0 / 401.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.0036/0.4337, allocations: 1.198 MB / 402.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.4338, allocations: 81.23 kB / 402.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.4354, allocations: 0.8306 MB / 403.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.4354, allocations: 30.95 kB / 403.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005014/0.4359, allocations: 0.5685 MB / 404.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4361, allocations: 127 kB / 404.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.4363, allocations: 122.4 kB / 404.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4365, allocations: 335.8 kB / 404.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.4369, allocations: 151.4 kB / 405 MB, free: 12.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.4375, allocations: 455.2 kB / 405.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4385, allocations: 0.6408 MB / 406.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.078e-06/0.4385, allocations: 2.375 kB / 406.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001383/0.4399, allocations: 0.6898 MB / 406.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.44, allocations: 13.03 kB / 406.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.44, allocations: 9.906 kB / 406.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000208/0.4402, allocations: 36.34 kB / 406.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.4407, allocations: 164.6 kB / 407 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.442, allocations: 1.396 MB / 408.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.4427, allocations: 37.45 kB / 408.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.4428, allocations: 36.62 kB / 408.5 MB, free: 9.535 MB / 334.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.0005707/0.4433, allocations: 255.1 kB / 408.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.4436, allocations: 91.5 kB / 408.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000875/0.4445, allocations: 365.9 kB / 409.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4445, allocations: 2.969 kB / 409.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4445, allocations: 1.406 kB / 409.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4445, allocations: 3.984 kB / 409.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.447, allocations: 1.269 MB / 410.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.4471, allocations: 1.312 kB / 410.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.4474, allocations: 79.41 kB / 410.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.4475, allocations: 24.19 kB / 410.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4475, allocations: 12.34 kB / 410.6 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.4487, allocations: 1.366 MB / 412 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4488, allocations: 2.594 kB / 412 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.45, allocations: 0.6341 MB / 412.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.4503, allocations: 187 kB / 412.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.4504, allocations: 9.375 kB / 412.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.4508, allocations: 32.34 kB / 412.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.4509, allocations: 24.25 kB / 412.8 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.4509, allocations: 12.16 kB / 412.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009073/0.4518, allocations: 0.5605 MB / 413.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4518, allocations: 0 / 413.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000992/0.4528, allocations: 188.7 kB / 413.6 MB, free: 5.617 MB / 334.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.0002726/0.4531, allocations: 130 kB / 413.7 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4543, allocations: 0.5148 MB / 414.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4543, allocations: 0 / 414.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.4548, allocations: 255.7 kB / 414.5 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4559, allocations: 222.9 kB / 414.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.4605, allocations: 1.685 MB / 416.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/0.4615, allocations: 0.9989 MB / 417.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.462, allocations: 101.2 kB / 417.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4622, allocations: 53.38 kB / 417.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of SimCode: time 1.954e-06/0.4622, allocations: 0 / 417.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of Templates: time 0.02097/0.4832, allocations: 9.646 MB / 427.2 MB, free: 10.31 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches