Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 81.75 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.203e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 50.43 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.4017, allocations: 79.99 MB / 467.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.4019, allocations: 67.97 kB / 467.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.4224, allocations: 8.328 MB / 475.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4224, allocations: 0 / 475.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.4224, allocations: 16 kB / 475.9 MB, free: 6.414 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.001009/0.4234, allocations: 0.7174 MB / 476.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4235, allocations: 12.03 kB / 476.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4236, allocations: 67.25 kB / 476.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.424, allocations: 347.6 kB / 477 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.4241, allocations: 16 kB / 477 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.4241, allocations: 31.95 kB / 477 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004641/0.4246, allocations: 270.5 kB / 477.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.4252, allocations: 384.8 kB / 477.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4252, allocations: 4 kB / 477.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.4253, allocations: 0 / 477.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4253, allocations: 12 kB / 477.7 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.4277, allocations: 1.621 MB / 479.3 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.428, allocations: 229.2 kB / 479.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.4282, allocations: 122 kB / 479.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4282, allocations: 8 kB / 479.7 MB, free: 2.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4283, allocations: 42.45 kB / 479.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.4283, allocations: 0 / 479.7 MB, free: 2.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001189/0.4295, allocations: 0.708 MB / 480.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4295, allocations: 85.11 kB / 480.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.4298, allocations: 302.8 kB / 480.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.4299, allocations: 29.7 kB / 480.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.43, allocations: 283.4 kB / 481.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.4301, allocations: 110.5 kB / 481.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.4301, allocations: 0 / 481.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4303, allocations: 346.8 kB / 481.5 MB, free: 404 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.4304, allocations: 84.81 kB / 481.6 MB, free: 320 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.4306, allocations: 170.1 kB / 481.8 MB, free: 112 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.4308, allocations: 105.4 kB / 481.9 MB, free: 8 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4308, allocations: 0 / 481.9 MB, free: 8 kB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000633/0.4314, allocations: 379.6 kB / 482.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4314, allocations: 9.406 kB / 482.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4314, allocations: 4 kB / 482.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/0.4317, allocations: 81.88 kB / 482.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.4321, allocations: 83.84 kB / 482.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.4341, allocations: 2.751 MB / 485.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.4344, allocations: 11.94 kB / 485.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4345, allocations: 16 kB / 485.2 MB, free: 12.44 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 () * 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.0001071/0.4346, allocations: 120.9 kB / 485.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/0.4347, allocations: 43.52 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.47e-05/0.4347, allocations: 39.11 kB / 485.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4347, allocations: 4 kB / 485.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4348, allocations: 7.953 kB / 485.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4348, allocations: 0 / 485.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.4359, allocations: 0.8197 MB / 486.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4359, allocations: 0 / 486.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.4361, allocations: 43.97 kB / 486.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.4364, allocations: 81.78 kB / 486.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.4364, allocations: 11.98 kB / 486.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.4384, allocations: 2.754 MB / 489.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4384, allocations: 0 / 489.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.4391, allocations: 0.5537 MB / 489.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.4392, allocations: 120.6 kB / 489.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.4393, allocations: 3.984 kB / 489.8 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.4396, allocations: 32.17 kB / 489.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.4397, allocations: 23.97 kB / 489.9 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.4397, allocations: 19.94 kB / 489.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002438/0.44, allocations: 232.6 kB / 490.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.44, allocations: 0 / 490.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006085/0.4406, allocations: 104 kB / 490.2 MB, free: 7.098 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 () * 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.0001563/0.4407, allocations: 107.2 kB / 490.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006932/0.4414, allocations: 470.2 kB / 490.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4415, allocations: 0 / 490.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.4419, allocations: 363.4 kB / 491.1 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4423, allocations: 37.14 kB / 491.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.4435, allocations: 0.6768 MB / 491.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.4439, allocations: 0.8392 MB / 492.7 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.4441, allocations: 47.25 kB / 492.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.4441, allocations: 31.38 kB / 492.8 MB, free: 4.449 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4441, allocations: 0 / 492.8 MB, free: 4.449 MB / 362.7 MB Notification: Performance of Templates: time 0.007004/0.4511, allocations: 3.643 MB / 496.4 MB, free: 0.8359 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches