Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002673/0.002673, allocations: 186 kB / 8.149 MB, free: 0.8555 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.2 MB / 213.7 MB, free: 8.594 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001264, allocations: 91.45 kB / 261.8 MB, free: 5.148 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 9.739e-06/9.888e-06, allocations: 0 / 314.3 MB, free: 2.418 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 47.56 MB / 361.8 MB, free: 2.738 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4345, allocations: 83.89 MB / 445.7 MB, free: 3.922 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4349, allocations: 75.89 kB / 445.8 MB, free: 3.883 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.1243/0.5592, allocations: 30.38 MB / 476.2 MB, free: 8.875 MB / 354.8 MB Notification: Performance of Transformations before backend: time 0.0001526/0.5594, allocations: 40.59 kB / 476.2 MB, free: 8.836 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007233/0.5667, allocations: 1.664 MB / 477.9 MB, free: 7.125 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5667, allocations: 12.03 kB / 477.9 MB, free: 7.113 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002899/0.5696, allocations: 321.7 kB / 478.2 MB, free: 6.797 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.5735, allocations: 1.09 MB / 479.3 MB, free: 5.664 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.5736, allocations: 44 kB / 479.4 MB, free: 5.621 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/0.5742, allocations: 87.91 kB / 479.4 MB, free: 5.535 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005331/0.5795, allocations: 1.481 MB / 480.9 MB, free: 4.051 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00648/0.586, allocations: 1.622 MB / 482.5 MB, free: 2.375 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/0.5861, allocations: 4 kB / 482.5 MB, free: 2.371 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.5864, allocations: 0 / 482.5 MB, free: 2.371 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.104e-05/0.5865, allocations: 46 kB / 482.6 MB, free: 2.324 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01711/0.6036, allocations: 5.394 MB / 488 MB, free: 12.71 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.6053, allocations: 0.7701 MB / 488.8 MB, free: 11.88 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.6067, allocations: 479.1 kB / 489.2 MB, free: 11.41 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004565/0.6113, allocations: 1.588 MB / 490.8 MB, free: 9.75 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.226e-05/0.6114, allocations: 38.56 kB / 490.9 MB, free: 9.703 MB / 370.8 MB Notification: Performance of pre-optimization done (n=61): time 3.627e-06/0.6114, allocations: 0 / 490.9 MB, free: 9.703 MB / 370.8 MB Notification: Performance of matching and sorting (n=61): time 0.003216/0.6146, allocations: 0.8795 MB / 491.7 MB, free: 8.812 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.6147, allocations: 93.03 kB / 491.8 MB, free: 8.703 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.617, allocations: 0.8751 MB / 492.7 MB, free: 7.82 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.6173, allocations: 25.7 kB / 492.7 MB, free: 7.789 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.6177, allocations: 0.5394 MB / 493.3 MB, free: 7.242 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.618, allocations: 208.9 kB / 493.5 MB, free: 7.035 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.6181, allocations: 0 / 493.5 MB, free: 7.035 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6183, allocations: 342.8 kB / 493.8 MB, free: 6.691 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.6193, allocations: 361.4 kB / 494.2 MB, free: 6.34 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.6204, allocations: 0.5174 MB / 494.7 MB, free: 5.754 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.6219, allocations: 464.4 kB / 495.1 MB, free: 5.297 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6219, allocations: 0 / 495.1 MB, free: 5.297 MB / 370.8 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002826/0.6248, allocations: 0.9395 MB / 496.1 MB, free: 4.348 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.6248, allocations: 4 kB / 496.1 MB, free: 4.344 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.6249, allocations: 12 kB / 496.1 MB, free: 4.332 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.6249, allocations: 8.562 kB / 496.1 MB, free: 4.324 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.6267, allocations: 203.7 kB / 496.3 MB, free: 4.125 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.6268, allocations: 11.94 kB / 496.3 MB, free: 4.113 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/0.6276, allocations: 75.34 kB / 496.4 MB, free: 4.039 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.6278, allocations: 28 kB / 496.4 MB, free: 4.012 MB / 370.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.628, allocations: 37.58 kB / 496.4 MB, free: 3.969 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.6284, allocations: 90.88 kB / 496.5 MB, free: 3.879 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.6311, allocations: 0.7406 MB / 497.3 MB, free: 3.121 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.6311, allocations: 8 kB / 497.3 MB, free: 3.113 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6312, allocations: 0 / 497.3 MB, free: 3.113 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.6312, allocations: 7.984 kB / 497.3 MB, free: 3.105 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.6378, allocations: 2.229 MB / 499.5 MB, free: 0.8047 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6379, allocations: 4.094 kB / 499.5 MB, free: 0.8008 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.639, allocations: 119.8 kB / 499.6 MB, free: 0.6836 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007907/0.6398, allocations: 150.4 kB / 499.8 MB, free: 0.5352 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/0.64, allocations: 15.98 kB / 499.8 MB, free: 0.5195 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.6449, allocations: 2.471 MB / 0.4905 GB, free: 13.94 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.645, allocations: 160 / 0.4905 GB, free: 13.94 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003953/0.6489, allocations: 1.539 MB / 0.492 GB, free: 12.34 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.6495, allocations: 199.8 kB / 0.4922 GB, free: 12.13 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/0.6498, allocations: 12 kB / 0.4922 GB, free: 12.12 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.651, allocations: 55.95 kB / 0.4922 GB, free: 12.06 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.6512, allocations: 51.72 kB / 0.4923 GB, free: 12.01 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.6513, allocations: 16 kB / 0.4923 GB, free: 12 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.001593/0.6529, allocations: 0.6787 MB / 0.493 GB, free: 11.32 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.00166/0.6546, allocations: 346.4 kB / 0.4933 GB, free: 10.98 MB / 386.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003951/0.655, allocations: 139.4 kB / 0.4934 GB, free: 10.84 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.6571, allocations: 0.7856 MB / 0.4942 GB, free: 10.05 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.6572, allocations: 4 kB / 0.4942 GB, free: 10.04 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.6588, allocations: 0.5367 MB / 0.4947 GB, free: 9.5 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/0.6604, allocations: 136.7 kB / 0.4949 GB, free: 9.367 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.6678, allocations: 2.288 MB / 0.4971 GB, free: 7.023 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/0.6703, allocations: 1.563 MB / 0.4986 GB, free: 5.434 MB / 386.8 MB Notification: Performance of SimCode: time 1.683e-06/0.6703, allocations: 3.938 kB / 0.4986 GB, free: 5.43 MB / 386.8 MB Notification: Performance of Templates: time 0.0432/0.7136, allocations: 19 MB / 0.5172 GB, free: 2.438 MB / 402.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches