Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.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.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 181.2 kB / 16.4 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.895/1.895, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001098/0.001098, allocations: 89.23 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 11.98 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4577, allocations: 78.95 MB / 453.5 MB, free: 1.816 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4581, allocations: 75.95 kB / 453.6 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03528/0.4934, allocations: 8.054 MB / 461.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.4934, allocations: 0 / 461.6 MB, free: 9.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.4935, allocations: 8 kB / 461.6 MB, free: 9.641 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002024/0.4955, allocations: 0.7911 MB / 462.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4956, allocations: 8.031 kB / 462.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.4958, allocations: 63.25 kB / 462.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.4965, allocations: 354.6 kB / 462.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.4966, allocations: 37 kB / 462.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4967, allocations: 55.84 kB / 462.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.498, allocations: 475.2 kB / 463.4 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.4981, allocations: 0 / 463.4 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.4981, allocations: 20 kB / 463.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.4982, allocations: 16 kB / 463.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.4993, allocations: 344.3 kB / 463.8 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.5038, allocations: 1.714 MB / 465.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.5046, allocations: 261.1 kB / 465.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.5047, allocations: 4 kB / 465.7 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.5048, allocations: 46.5 kB / 465.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.085e-06/0.5048, allocations: 0 / 465.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003355/0.5081, allocations: 0.9645 MB / 466.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.5083, allocations: 81.11 kB / 466.8 MB, free: 4.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.509, allocations: 344.7 kB / 467.2 MB, free: 3.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.5091, allocations: 33.7 kB / 467.2 MB, free: 3.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.5094, allocations: 329.9 kB / 467.5 MB, free: 3.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.5095, allocations: 110.4 kB / 467.6 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.5096, allocations: 12 kB / 467.6 MB, free: 3.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5098, allocations: 326.8 kB / 467.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.5102, allocations: 104.8 kB / 468 MB, free: 2.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.5107, allocations: 198.7 kB / 468.2 MB, free: 2.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.5112, allocations: 130.8 kB / 468.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5112, allocations: 4 kB / 468.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00141/0.5126, allocations: 425.7 kB / 468.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.5127, allocations: 11.95 kB / 468.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.5127, allocations: 4 kB / 468.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.5133, allocations: 85.69 kB / 468.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/0.514, allocations: 79.91 kB / 469 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.5178, allocations: 2.87 MB / 471.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.5185, allocations: 23.95 kB / 471.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.5185, allocations: 19.94 kB / 471.9 MB, free: 14.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003481/0.5189, allocations: 169.7 kB / 472 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5191, allocations: 39.53 kB / 472.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.5192, allocations: 47.47 kB / 472.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5192, allocations: 4 kB / 472.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.5192, allocations: 0 / 472.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5192, allocations: 3.984 kB / 472.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.5216, allocations: 0.9409 MB / 473.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.5217, allocations: 0 / 473.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.5221, allocations: 47.97 kB / 473.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.5226, allocations: 85.58 kB / 473.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.5227, allocations: 7.984 kB / 473.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.5262, allocations: 2.877 MB / 476.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5263, allocations: 4.062 kB / 476.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.528, allocations: 0.6438 MB / 476.7 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.5283, allocations: 116.6 kB / 476.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.5284, allocations: 8 kB / 476.9 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.529, allocations: 35.98 kB / 476.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5292, allocations: 23.95 kB / 476.9 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.5292, allocations: 12 kB / 476.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005074/0.5297, allocations: 271.2 kB / 477.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5297, allocations: 0 / 477.2 MB, free: 8.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009548/0.5307, allocations: 116 kB / 477.3 MB, free: 8.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.531, allocations: 123.1 kB / 477.4 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.5325, allocations: 0.5236 MB / 478 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.5326, allocations: 0 / 478 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.5336, allocations: 385.2 kB / 478.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.5344, allocations: 53.67 kB / 478.4 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.5374, allocations: 1.206 MB / 479.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.538, allocations: 0.8431 MB / 480.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5383, allocations: 31.44 kB / 480.5 MB, free: 5.609 MB / 362.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5383, allocations: 7.938 kB / 480.5 MB, free: 5.602 MB / 362.7 MB Notification: Performance of Templates: time 0.01819/0.5565, allocations: 8.539 MB / 489 MB, free: 13.06 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches