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.001674/0.001674, allocations: 107.9 kB / 18.36 MB, free: 4.586 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.001942/0.001942, allocations: 188.5 kB / 19.3 MB, free: 3.66 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.488/1.488, allocations: 205.1 MB / 225.2 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.001206/0.001206, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1056, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1962/0.3018, allocations: 7.929 MB / 383.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.3065, allocations: 2.628 MB / 386.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3075, allocations: 28.34 kB / 386.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3092, allocations: 0.5554 MB / 386.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.3104, allocations: 459.5 kB / 387.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.3109, allocations: 241.7 kB / 387.6 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3122, allocations: 1.428 MB / 389 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007331/0.3129, allocations: 0.587 MB / 389.6 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.3136, allocations: 0.5338 MB / 390.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.3141, allocations: 0.5798 MB / 390.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.3143, allocations: 136.4 kB / 390.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.3147, allocations: 176 kB / 391 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.3149, allocations: 276 kB / 391.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005334/0.3154, allocations: 0.649 MB / 391.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.3172, allocations: 1.689 MB / 393.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3172, allocations: 0 / 393.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3172, allocations: 1.406 kB / 393.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3172, allocations: 5.656 kB / 393.6 MB, free: 4.301 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.002166/0.3194, allocations: 1.434 MB / 395.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3194, allocations: 10.31 kB / 395.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.32, allocations: 171.2 kB / 395.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3211, allocations: 0.724 MB / 396 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.3212, allocations: 80.69 kB / 396.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3214, allocations: 99.3 kB / 396.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.3228, allocations: 0.9191 MB / 397.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3229, allocations: 1.922 kB / 397.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.3229, allocations: 41.38 kB / 397.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.323, allocations: 23.88 kB / 397.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3241, allocations: 0.622 MB / 397.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/0.3287, allocations: 3.871 MB / 401.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.3293, allocations: 351.4 kB / 402 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.3296, allocations: 146.7 kB / 402.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.3296, allocations: 7.5 kB / 402.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3297, allocations: 35.97 kB / 402.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.384e-06/0.3297, allocations: 3.938 kB / 402.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.00229/0.332, allocations: 1.189 MB / 403.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.332, allocations: 89.83 kB / 403.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3332, allocations: 0.828 MB / 404.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3332, allocations: 32.05 kB / 404.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.3336, allocations: 0.5632 MB / 404.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.3337, allocations: 135 kB / 405 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3338, allocations: 127 kB / 405.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.334, allocations: 331.5 kB / 405.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.3343, allocations: 152.1 kB / 405.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.3348, allocations: 459.3 kB / 406 MB, free: 12.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.3357, allocations: 0.6358 MB / 406.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3357, allocations: 3.969 kB / 406.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001157/0.3369, allocations: 0.6842 MB / 407.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3369, allocations: 9.688 kB / 407.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.3369, allocations: 14.33 kB / 407.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.3371, allocations: 39.7 kB / 407.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3376, allocations: 164.5 kB / 407.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/0.3386, allocations: 1.385 MB / 409 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.3392, allocations: 37.83 kB / 409 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.3392, allocations: 31.56 kB / 409 MB, free: 9.605 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.0003726/0.3396, allocations: 260.1 kB / 409.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3398, allocations: 86.81 kB / 409.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.3405, allocations: 373.7 kB / 409.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3405, allocations: 4.312 kB / 409.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3405, allocations: 0 / 409.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3406, allocations: 1.125 kB / 409.8 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.3425, allocations: 1.267 MB / 411 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3425, allocations: 6.719 kB / 411 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3428, allocations: 79.23 kB / 411.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.3429, allocations: 24.09 kB / 411.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3429, allocations: 8.25 kB / 411.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009391/0.3439, allocations: 1.363 MB / 412.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3439, allocations: 5.375 kB / 412.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3449, allocations: 0.6385 MB / 413.1 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.3452, allocations: 188.2 kB / 413.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.3453, allocations: 16.09 kB / 413.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.3457, allocations: 24.39 kB / 413.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.3457, allocations: 28.53 kB / 413.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.3458, allocations: 11.56 kB / 413.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007624/0.3465, allocations: 0.5608 MB / 414 MB, free: 5.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3465, allocations: 0 / 414 MB, free: 5.691 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.3474, allocations: 188.2 kB / 414.1 MB, free: 5.676 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.0002179/0.3476, allocations: 125.9 kB / 414.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.3486, allocations: 0.5108 MB / 414.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3486, allocations: 3.938 kB / 414.8 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.349, allocations: 265.6 kB / 415 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.35, allocations: 217.8 kB / 415.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3528, allocations: 1.722 MB / 417 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.3534, allocations: 0.9964 MB / 418 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3536, allocations: 57.38 kB / 418 MB, free: 3 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3536, allocations: 0 / 418 MB, free: 3 MB / 334.1 MB Notification: Performance of Templates: time 0.02291/0.3765, allocations: 15.72 MB / 433.7 MB, free: 4.387 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/jenkins1/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/jenkins1/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