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.00146/0.00146, allocations: 178 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 85.72 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.821e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3373, allocations: 47.57 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.4881, allocations: 97.55 MB / 459.9 MB, free: 4.734 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4884, allocations: 82.7 kB / 460 MB, free: 4.656 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.6076, allocations: 28.29 MB / 488.3 MB, free: 8.285 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6077, allocations: 0 / 488.3 MB, free: 8.285 MB / 379.1 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.6077, allocations: 20.66 kB / 488.3 MB, free: 8.266 MB / 379.1 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.002767/0.6105, allocations: 1.148 MB / 489.4 MB, free: 7.07 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6106, allocations: 8.031 kB / 489.4 MB, free: 7.062 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6116, allocations: 190.3 kB / 489.6 MB, free: 6.875 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.6141, allocations: 0.8088 MB / 490.4 MB, free: 6.023 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.6142, allocations: 32 kB / 490.5 MB, free: 5.992 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.6145, allocations: 67.95 kB / 490.5 MB, free: 5.926 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001679/0.6161, allocations: 0.5351 MB / 491.1 MB, free: 5.391 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.6182, allocations: 0.7552 MB / 491.8 MB, free: 4.609 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.797e-05/0.6183, allocations: 3.906 kB / 491.8 MB, free: 4.605 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.6184, allocations: 7.984 kB / 491.8 MB, free: 4.598 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.6184, allocations: 24 kB / 491.9 MB, free: 4.574 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008075/0.6265, allocations: 3.762 MB / 495.6 MB, free: 0.6094 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008701/0.6274, allocations: 416.5 kB / 496 MB, free: 176 kB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.6282, allocations: 233.9 kB / 496.3 MB, free: 15.94 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.6283, allocations: 11.98 kB / 496.3 MB, free: 15.93 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6283, allocations: 34.56 kB / 496.3 MB, free: 15.89 MB / 395.1 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.6283, allocations: 0 / 496.3 MB, free: 15.89 MB / 395.1 MB Notification: Performance of matching and sorting (n=48): time 0.0031/0.6314, allocations: 1.124 MB / 497.4 MB, free: 14.7 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.6315, allocations: 85.48 kB / 497.5 MB, free: 14.6 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.6328, allocations: 0.6016 MB / 498.1 MB, free: 13.99 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.6329, allocations: 29.64 kB / 498.1 MB, free: 13.96 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.6334, allocations: 0.5861 MB / 498.7 MB, free: 13.36 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.6337, allocations: 165.6 kB / 498.9 MB, free: 13.2 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.6337, allocations: 0 / 498.9 MB, free: 13.2 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6339, allocations: 346.8 kB / 499.2 MB, free: 12.85 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.6343, allocations: 141.6 kB / 499.4 MB, free: 12.71 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.6349, allocations: 420.4 kB / 499.8 MB, free: 12.17 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.6356, allocations: 220.6 kB / 500 MB, free: 11.95 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6356, allocations: 4 kB / 500 MB, free: 11.95 MB / 395.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002837/0.6385, allocations: 0.6304 MB / 0.4889 GB, free: 11.3 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.6386, allocations: 10.66 kB / 0.4889 GB, free: 11.3 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.51e-05/0.6386, allocations: 12 kB / 0.4889 GB, free: 11.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.6392, allocations: 93.86 kB / 0.489 GB, free: 11.19 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.6406, allocations: 167.7 kB / 0.4892 GB, free: 11.02 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005214/0.6459, allocations: 2.875 MB / 0.492 GB, free: 7.918 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.6479, allocations: 27.92 kB / 0.492 GB, free: 7.891 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.6481, allocations: 40 kB / 0.492 GB, free: 7.852 MB / 395.1 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.0003414/0.6485, allocations: 137.7 kB / 0.4922 GB, free: 7.711 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.6489, allocations: 82.97 kB / 0.4922 GB, free: 7.629 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.6509, allocations: 454 kB / 0.4927 GB, free: 7.168 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.6509, allocations: 12 kB / 0.4927 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.651, allocations: 0 / 0.4927 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.651, allocations: 0 / 0.4927 GB, free: 7.156 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003864/0.6549, allocations: 1.287 MB / 0.4939 GB, free: 5.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6549, allocations: 4 kB / 0.494 GB, free: 5.789 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.6556, allocations: 80.11 kB / 0.494 GB, free: 5.711 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.656, allocations: 85.62 kB / 0.4941 GB, free: 5.621 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.656, allocations: 4 kB / 0.4941 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/0.6593, allocations: 2.875 MB / 0.4969 GB, free: 2.512 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.6593, allocations: 0 / 0.4969 GB, free: 2.512 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.6611, allocations: 0.8327 MB / 0.4977 GB, free: 1.59 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6615, allocations: 184.2 kB / 0.4979 GB, free: 1.391 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.6617, allocations: 7.984 kB / 0.4979 GB, free: 1.383 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.6624, allocations: 23.98 kB / 0.4979 GB, free: 1.359 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.6625, allocations: 43.91 kB / 0.498 GB, free: 1.316 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.6626, allocations: 15.92 kB / 0.498 GB, free: 1.301 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0008878/0.6635, allocations: 455.2 kB / 0.4984 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6635, allocations: 0 / 0.4984 GB, free: 0.8633 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001205/0.6647, allocations: 200 kB / 0.4986 GB, free: 0.668 MB / 395.1 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.0005255/0.6653, allocations: 268.6 kB / 0.4989 GB, free: 408 kB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.297/0.9622, allocations: 0.6311 MB / 0.4995 GB, free: 109.1 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9623, allocations: 0.5 kB / 0.4995 GB, free: 109.1 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009797/0.9633, allocations: 422.9 kB / 0.4999 GB, free: 108.9 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.9649, allocations: 169.7 kB / 0.5001 GB, free: 108.9 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.9689, allocations: 1.292 MB / 0.5013 GB, free: 108.4 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/0.9698, allocations: 1.04 MB / 0.5023 GB, free: 107.7 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.9702, allocations: 57.3 kB / 0.5024 GB, free: 107.7 MB / 395.1 MB Notification: Performance of SimCode: time 1.583e-06/0.9702, allocations: 3.812 kB / 0.5024 GB, free: 107.7 MB / 395.1 MB Notification: Performance of Templates: time 0.03931/1.01, allocations: 20.52 MB / 0.5224 GB, free: 106.5 MB / 395.1 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