Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 203.9 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.5 MB / 245.3 MB, free: 8.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007477/0.0007476, allocations: 100.1 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 12 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3575, allocations: 87.74 MB / 496.4 MB, free: 3.855 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/0.3579, allocations: 90.47 kB / 496.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2607/0.6186, allocations: 40.7 MB / 0.5246 GB, free: 88.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6187, allocations: 0 / 0.5246 GB, free: 88.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001402/0.6188, allocations: 36 kB / 0.5246 GB, free: 88.15 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003293/0.6221, allocations: 2.591 MB / 0.5272 GB, free: 85.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.6221, allocations: 8.031 kB / 0.5272 GB, free: 85.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.6226, allocations: 305.3 kB / 0.5275 GB, free: 85.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.6255, allocations: 2.049 MB / 0.5295 GB, free: 83.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/0.6256, allocations: 63.25 kB / 0.5295 GB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.6258, allocations: 44.75 kB / 0.5296 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.6264, allocations: 399.1 kB / 0.5299 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.6265, allocations: 4 kB / 0.5299 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.6265, allocations: 16 kB / 0.53 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6265, allocations: 8 kB / 0.53 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.6271, allocations: 327.7 kB / 0.5303 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.6311, allocations: 3.119 MB / 0.5333 GB, free: 79.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.6316, allocations: 309.1 kB / 0.5336 GB, free: 78.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.6319, allocations: 172 kB / 0.5338 GB, free: 78.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.632, allocations: 11.61 kB / 0.5338 GB, free: 78.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.632, allocations: 38.56 kB / 0.5338 GB, free: 78.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.464e-06/0.632, allocations: 4 kB / 0.5338 GB, free: 78.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004824/0.6368, allocations: 2.584 MB / 0.5364 GB, free: 75.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6369, allocations: 85.58 kB / 0.5364 GB, free: 75.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008455/0.6454, allocations: 5.295 MB / 0.5416 GB, free: 70.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.6455, allocations: 33.7 kB / 0.5416 GB, free: 70.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/0.6464, allocations: 1.215 MB / 0.5428 GB, free: 69.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6465, allocations: 161 kB / 0.543 GB, free: 69.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.6466, allocations: 12 kB / 0.543 GB, free: 69.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.6466, allocations: 326 kB / 0.5433 GB, free: 68.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.647, allocations: 137.1 kB / 0.5434 GB, free: 68.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.6473, allocations: 216.8 kB / 0.5436 GB, free: 68.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006082/0.6479, allocations: 375.5 kB / 0.544 GB, free: 67.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6479, allocations: 7.938 kB / 0.544 GB, free: 67.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001209/0.6491, allocations: 0.68 MB / 0.5447 GB, free: 67.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6492, allocations: 7.938 kB / 0.5447 GB, free: 67.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6492, allocations: 8.156 kB / 0.5447 GB, free: 67.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.6492, allocations: 8 kB / 0.5447 GB, free: 67.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.6497, allocations: 119.8 kB / 0.5448 GB, free: 67.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.6497, allocations: 7.984 kB / 0.5448 GB, free: 67.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.6502, allocations: 20 kB / 0.5448 GB, free: 67.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.6503, allocations: 24 kB / 0.5449 GB, free: 67.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.001092/0.6514, allocations: 0.923 MB / 0.5458 GB, free: 66.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/0.6517, allocations: 288.4 kB / 0.546 GB, free: 65.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.6531, allocations: 0.7919 MB / 0.5468 GB, free: 65.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6531, allocations: 8 kB / 0.5468 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6531, allocations: 0 / 0.5468 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6531, allocations: 4 kB / 0.5468 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.6547, allocations: 1.712 MB / 0.5485 GB, free: 63.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6547, allocations: 0 / 0.5485 GB, free: 63.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.6551, allocations: 99.81 kB / 0.5486 GB, free: 63.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/0.6554, allocations: 96.69 kB / 0.5487 GB, free: 63.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.6555, allocations: 15.94 kB / 0.5487 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004674/0.656, allocations: 0.6344 MB / 0.5493 GB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.656, allocations: 0 / 0.5493 GB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.6574, allocations: 1.1 MB / 0.5504 GB, free: 61.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009888/0.6584, allocations: 0.6771 MB / 0.5511 GB, free: 60.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.6587, allocations: 16 kB / 0.5511 GB, free: 60.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.6592, allocations: 31.98 kB / 0.5511 GB, free: 60.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.6592, allocations: 28.39 kB / 0.5511 GB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.6593, allocations: 16 kB / 0.5511 GB, free: 60.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004604/0.6639, allocations: 3.861 MB / 0.5549 GB, free: 56.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6639, allocations: 0 / 0.5549 GB, free: 56.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001118/0.665, allocations: 328 kB / 0.5552 GB, free: 56.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009392/0.666, allocations: 440.2 kB / 0.5556 GB, free: 56.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007608/0.6668, allocations: 385 kB / 0.556 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6668, allocations: 0 / 0.556 GB, free: 55.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.6672, allocations: 216.9 kB / 0.5562 GB, free: 55.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.6686, allocations: 199.9 kB / 0.5564 GB, free: 55.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/0.6766, allocations: 6.462 MB / 0.5627 GB, free: 48.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.6779, allocations: 1.822 MB / 0.5645 GB, free: 46.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/0.6785, allocations: 139.4 kB / 0.5646 GB, free: 46.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6785, allocations: 0 / 0.5646 GB, free: 46.77 MB / 378.7 MB Notification: Performance of Templates: time 0.05909/0.7376, allocations: 38.21 MB / 0.6019 GB, free: 8.516 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches