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.001513/0.001514, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001196/0.001195, allocations: 98.2 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005975, allocations: 12 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3469, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.503, allocations: 98.31 MB / 472.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5033, allocations: 83.95 kB / 472.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.6251, allocations: 28.67 MB / 0.4898 GB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6251, allocations: 4 kB / 0.4898 GB, free: 1.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.504e-05/0.6252, allocations: 20 kB / 0.4899 GB, free: 1.457 MB / 378.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.00382/0.6291, allocations: 1.285 MB / 0.4911 GB, free: 124 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6291, allocations: 12.03 kB / 0.4911 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2725/0.9017, allocations: 185.9 kB / 0.4913 GB, free: 97.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/0.9046, allocations: 0.8145 MB / 0.4921 GB, free: 96.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.9048, allocations: 73.31 kB / 0.4922 GB, free: 96.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.9051, allocations: 100.7 kB / 0.4923 GB, free: 96.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.908, allocations: 0.9395 MB / 0.4932 GB, free: 96.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/0.9081, allocations: 9.594 kB / 0.4932 GB, free: 96.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.9082, allocations: 42.81 kB / 0.4932 GB, free: 96.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.9083, allocations: 23.69 kB / 0.4933 GB, free: 96.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.9105, allocations: 0.6575 MB / 0.4939 GB, free: 96.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008217/0.9188, allocations: 3.944 MB / 0.4978 GB, free: 95.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.92, allocations: 472.6 kB / 0.4982 GB, free: 94.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.073e-05/0.9201, allocations: 4.156 kB / 0.4982 GB, free: 94.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.9201, allocations: 36.72 kB / 0.4982 GB, free: 94.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.9202, allocations: 2.156 kB / 0.4982 GB, free: 94.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004724/0.9249, allocations: 1.51 MB / 0.4997 GB, free: 94.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.925, allocations: 86.11 kB / 0.4998 GB, free: 94.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.9266, allocations: 0.7007 MB / 0.5005 GB, free: 94.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.9267, allocations: 36.83 kB / 0.5005 GB, free: 94.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.9271, allocations: 0.583 MB / 0.5011 GB, free: 93.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.9273, allocations: 173.1 kB / 0.5013 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.9273, allocations: 13.75 kB / 0.5013 GB, free: 93.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.9274, allocations: 344.1 kB / 0.5016 GB, free: 93.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006296/0.9281, allocations: 177 kB / 0.5018 GB, free: 93.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/0.9289, allocations: 476.4 kB / 0.5022 GB, free: 92.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.9297, allocations: 259.2 kB / 0.5025 GB, free: 92.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.9297, allocations: 2.25 kB / 0.5025 GB, free: 92.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002093/0.9318, allocations: 0.7529 MB / 0.5032 GB, free: 92.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.9319, allocations: 12.64 kB / 0.5032 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9319, allocations: 9.562 kB / 0.5032 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.9323, allocations: 88.14 kB / 0.5033 GB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.9334, allocations: 165.8 kB / 0.5035 GB, free: 92.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.9361, allocations: 2.918 MB / 0.5063 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.9373, allocations: 51.66 kB / 0.5064 GB, free: 90.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.9374, allocations: 37.72 kB / 0.5064 GB, free: 90.31 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006286/0.9381, allocations: 263.2 kB / 0.5067 GB, free: 90.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.9383, allocations: 85.56 kB / 0.5067 GB, free: 90.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.9398, allocations: 0.5264 MB / 0.5073 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.9398, allocations: 3.875 kB / 0.5073 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9398, allocations: 3.469 kB / 0.5073 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.9398, allocations: 0 / 0.5073 GB, free: 89.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.9432, allocations: 1.482 MB / 0.5087 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.9432, allocations: 7.781 kB / 0.5087 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.9439, allocations: 75.95 kB / 0.5088 GB, free: 89.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.9442, allocations: 72.64 kB / 0.5089 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.9442, allocations: 7.906 kB / 0.5089 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.9467, allocations: 2.92 MB / 0.5117 GB, free: 86.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9468, allocations: 3.688 kB / 0.5117 GB, free: 86.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.949, allocations: 0.9285 MB / 0.5126 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.9495, allocations: 199.7 kB / 0.5128 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.9497, allocations: 15.52 kB / 0.5128 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.9504, allocations: 38.33 kB / 0.5129 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.9506, allocations: 35.38 kB / 0.5129 GB, free: 85.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.9506, allocations: 18.77 kB / 0.5129 GB, free: 85.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.9517, allocations: 0.5401 MB / 0.5134 GB, free: 85.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9517, allocations: 0 / 0.5134 GB, free: 85.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001473/0.9532, allocations: 243.8 kB / 0.5137 GB, free: 85.11 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005606/0.9537, allocations: 300.8 kB / 0.514 GB, free: 84.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.9556, allocations: 0.7302 MB / 0.5147 GB, free: 84.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.9556, allocations: 0 / 0.5147 GB, free: 84.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.9567, allocations: 481.6 kB / 0.5151 GB, free: 84.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.9584, allocations: 201.9 kB / 0.5153 GB, free: 84.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.9627, allocations: 2.193 MB / 0.5175 GB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.9633, allocations: 1.036 MB / 0.5185 GB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.9636, allocations: 60.25 kB / 0.5185 GB, free: 82.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9636, allocations: 1.594 kB / 0.5185 GB, free: 82.1 MB / 378.7 MB Notification: Performance of Templates: time 0.03365/0.9973, allocations: 21.29 MB / 0.5393 GB, free: 71.91 MB / 378.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