Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 181.6 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.007/2.007, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001174/0.001174, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.911e-05, allocations: 3.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5704, allocations: 98.21 MB / 467.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.5708, allocations: 84.11 kB / 467.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1238/0.6946, allocations: 28.69 MB / 496.1 MB, free: 44 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6946, allocations: 0 / 496.1 MB, free: 44 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.626e-05/0.6947, allocations: 20 kB / 496.1 MB, free: 24 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.0031/0.6978, allocations: 1.146 MB / 497.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.6979, allocations: 12.02 kB / 497.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.6991, allocations: 194.3 kB / 497.4 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.7016, allocations: 0.801 MB / 498.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.7018, allocations: 74 kB / 498.3 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.702, allocations: 99.95 kB / 498.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.7045, allocations: 0.8958 MB / 499.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.7046, allocations: 11.91 kB / 499.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.7047, allocations: 40 kB / 499.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.7048, allocations: 24 kB / 499.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.7066, allocations: 0.5975 MB / 500 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008849/0.7155, allocations: 3.947 MB / 0.4921 GB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.7166, allocations: 428.7 kB / 0.4925 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.7174, allocations: 253.5 kB / 0.4928 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.7175, allocations: 7.984 kB / 0.4928 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.7175, allocations: 47.22 kB / 0.4928 GB, free: 7.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.737e-06/0.7175, allocations: 0 / 0.4928 GB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.003605/0.7211, allocations: 1.228 MB / 0.494 GB, free: 5.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.7213, allocations: 85.55 kB / 0.4941 GB, free: 5.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.7229, allocations: 0.6997 MB / 0.4948 GB, free: 4.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/0.723, allocations: 37.7 kB / 0.4948 GB, free: 4.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.7235, allocations: 0.5667 MB / 0.4954 GB, free: 4.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.7238, allocations: 169.6 kB / 0.4955 GB, free: 4.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.7238, allocations: 12 kB / 0.4955 GB, free: 4.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.724, allocations: 346.8 kB / 0.4959 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004735/0.7245, allocations: 157.6 kB / 0.496 GB, free: 3.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/0.7252, allocations: 450 kB / 0.4965 GB, free: 3.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006359/0.7259, allocations: 237.5 kB / 0.4967 GB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.7259, allocations: 0 / 0.4967 GB, free: 2.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001926/0.7278, allocations: 0.7124 MB / 0.4974 GB, free: 2.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.7279, allocations: 12 kB / 0.4974 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.7279, allocations: 8 kB / 0.4974 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004862/0.7284, allocations: 101.7 kB / 0.4975 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7295, allocations: 163.8 kB / 0.4977 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.7332, allocations: 2.994 MB / 0.5006 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.7344, allocations: 39.89 kB / 0.5006 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.7345, allocations: 40 kB / 0.5007 GB, free: 14.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.7347, allocations: 148.8 kB / 0.5008 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7349, allocations: 86.97 kB / 0.5009 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.7364, allocations: 0.4986 MB / 0.5014 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.7365, allocations: 7.953 kB / 0.5014 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7365, allocations: 4 kB / 0.5014 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7365, allocations: 0 / 0.5014 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.7401, allocations: 1.466 MB / 0.5028 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7401, allocations: 0 / 0.5028 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.7408, allocations: 80.11 kB / 0.5029 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.7413, allocations: 81.67 kB / 0.503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.7413, allocations: 15.94 kB / 0.503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.7448, allocations: 2.978 MB / 0.5059 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7448, allocations: 0 / 0.5059 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.7468, allocations: 0.8678 MB / 0.5067 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.7474, allocations: 207.9 kB / 0.5069 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.7476, allocations: 11.98 kB / 0.5069 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.7484, allocations: 35.92 kB / 0.507 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.7486, allocations: 39.89 kB / 0.507 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.7486, allocations: 16 kB / 0.507 GB, free: 7.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.7498, allocations: 0.5343 MB / 0.5076 GB, free: 6.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.7499, allocations: 0 / 0.5076 GB, free: 6.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001588/0.7515, allocations: 248 kB / 0.5078 GB, free: 6.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006631/0.7522, allocations: 308.4 kB / 0.5081 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.7539, allocations: 0.6839 MB / 0.5087 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.754, allocations: 0 / 0.5087 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.755, allocations: 445 kB / 0.5092 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/0.7568, allocations: 201 kB / 0.5094 GB, free: 5.059 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.7606, allocations: 1.339 MB / 0.5107 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/0.7615, allocations: 1.036 MB / 0.5117 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.7619, allocations: 63.38 kB / 0.5117 GB, free: 2.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7619, allocations: 4 kB / 0.5117 GB, free: 2.539 MB / 394.7 MB Notification: Performance of Templates: time 0.3097/1.072, allocations: 21.26 MB / 0.5325 GB, free: 116.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches