Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001731/0.001731, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.994e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.5553, allocations: 97.02 MB / 466.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5557, allocations: 82.08 kB / 466.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1502/0.7059, allocations: 26.26 MB / 492.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.706, allocations: 0 / 492.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.165e-05/0.7061, allocations: 23.94 kB / 492.5 MB, free: 3.66 MB / 362.7 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.003029/0.7091, allocations: 1.099 MB / 493.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.7092, allocations: 8.031 kB / 493.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7102, allocations: 178.3 kB / 493.8 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.7126, allocations: 0.762 MB / 494.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-05/0.7127, allocations: 73.95 kB / 494.6 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.713, allocations: 96 kB / 494.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.7154, allocations: 0.8801 MB / 495.6 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.7155, allocations: 11.91 kB / 495.6 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7156, allocations: 36 kB / 495.6 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.7157, allocations: 24 kB / 495.6 MB, free: 388 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.7175, allocations: 0.5703 MB / 496.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009363/0.7269, allocations: 3.944 MB / 0.4884 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008084/0.7278, allocations: 333.1 kB / 0.4887 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.7281, allocations: 129.4 kB / 0.4889 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.807e-05/0.7282, allocations: 4.281 kB / 0.4889 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.7282, allocations: 38.84 kB / 0.4889 GB, free: 11.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.577e-06/0.7283, allocations: 0 / 0.4889 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002724/0.731, allocations: 0.9538 MB / 0.4898 GB, free: 10.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.7311, allocations: 81.11 kB / 0.4899 GB, free: 9.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.7326, allocations: 0.6802 MB / 0.4906 GB, free: 9.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.7327, allocations: 29.7 kB / 0.4906 GB, free: 9.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.7333, allocations: 0.5743 MB / 0.4912 GB, free: 8.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.7335, allocations: 142.1 kB / 0.4913 GB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.7335, allocations: 16 kB / 0.4913 GB, free: 8.516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7337, allocations: 334.8 kB / 0.4916 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.7341, allocations: 125.6 kB / 0.4918 GB, free: 8.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.7347, allocations: 429.9 kB / 0.4922 GB, free: 7.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.7353, allocations: 208.5 kB / 0.4924 GB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.7353, allocations: 4 kB / 0.4924 GB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001533/0.7369, allocations: 0.5949 MB / 0.493 GB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.7369, allocations: 11.95 kB / 0.493 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.737, allocations: 16.77 kB / 0.493 GB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.7372, allocations: 36.86 kB / 0.493 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7382, allocations: 159.7 kB / 0.4932 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.7396, allocations: 1.292 MB / 0.4944 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.7406, allocations: 39.98 kB / 0.4945 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.7407, allocations: 35.98 kB / 0.4945 GB, free: 4.957 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.7409, allocations: 152.8 kB / 0.4946 GB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.7411, allocations: 86.92 kB / 0.4947 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.7421, allocations: 342.8 kB / 0.4951 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.7422, allocations: 0 / 0.4951 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7422, allocations: 4 kB / 0.4951 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7422, allocations: 3.984 kB / 0.4951 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.745, allocations: 1.212 MB / 0.4962 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.7451, allocations: 4 kB / 0.4963 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007098/0.7458, allocations: 84.11 kB / 0.4963 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.746, allocations: 24.84 kB / 0.4964 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.746, allocations: 11.95 kB / 0.4964 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.7473, allocations: 1.268 MB / 0.4976 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.7474, allocations: 4.031 kB / 0.4976 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.7488, allocations: 0.6663 MB / 0.4983 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.7493, allocations: 188.1 kB / 0.4984 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.7495, allocations: 8 kB / 0.4984 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/0.7501, allocations: 35.92 kB / 0.4985 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.7502, allocations: 31.95 kB / 0.4985 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.7503, allocations: 8 kB / 0.4985 GB, free: 0.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001209/0.7515, allocations: 0.5187 MB / 0.499 GB, free: 15.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.7515, allocations: 4 kB / 0.499 GB, free: 15.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001474/0.753, allocations: 227.9 kB / 0.4992 GB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008101/0.7539, allocations: 303.2 kB / 0.4995 GB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.7554, allocations: 484.5 kB / 0.5 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7555, allocations: 0 / 0.5 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.7561, allocations: 250.3 kB / 0.5002 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.7579, allocations: 196.8 kB / 0.5004 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.7619, allocations: 1.292 MB / 0.5017 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.7627, allocations: 1.016 MB / 0.5027 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.7631, allocations: 59.44 kB / 0.5027 GB, free: 12.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/0.7631, allocations: 0 / 0.5027 GB, free: 12.08 MB / 394.7 MB Notification: Performance of Templates: time 0.03655/0.7996, allocations: 16.06 MB / 0.5184 GB, free: 11.99 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches