Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 118.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 72.38 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1308, allocations: 50.52 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005515/0.1364, allocations: 4.116 MB / 363 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1386, allocations: 0.958 MB / 364 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.1389, allocations: 11.94 kB / 364 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1392, allocations: 91.08 kB / 364.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1395, allocations: 186.4 kB / 364.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.14, allocations: 159.8 kB / 364.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006839/0.1407, allocations: 0.6693 MB / 365.1 MB, free: 7.113 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.141, allocations: 207 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.1414, allocations: 270.9 kB / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1417, allocations: 286.7 kB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.1418, allocations: 56 kB / 365.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1419, allocations: 56 kB / 365.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1421, allocations: 139.4 kB / 366.1 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.1423, allocations: 306.4 kB / 366.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.143, allocations: 0.6422 MB / 367 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1431, allocations: 0 / 367 MB, free: 5.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1431, allocations: 0 / 367 MB, free: 5.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1431, allocations: 0 / 367 MB, free: 5.168 MB / 302.1 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.001433/0.1445, allocations: 0.8689 MB / 367.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1446, allocations: 16.03 kB / 367.9 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.1449, allocations: 80.17 kB / 368 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.1455, allocations: 383.6 kB / 368.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.1455, allocations: 37.38 kB / 368.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.1456, allocations: 48.38 kB / 368.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.1464, allocations: 487.5 kB / 368.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1464, allocations: 3.938 kB / 368.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.1464, allocations: 20 kB / 368.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.1465, allocations: 12 kB / 368.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.1471, allocations: 328.3 kB / 369.3 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.1497, allocations: 1.685 MB / 371 MB, free: 1.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.1502, allocations: 269.1 kB / 371.2 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.1505, allocations: 137.7 kB / 371.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1505, allocations: 8.312 kB / 371.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1506, allocations: 38.55 kB / 371.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.1506, allocations: 0 / 371.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.2844/0.435, allocations: 0.9469 MB / 372.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4351, allocations: 81.98 kB / 372.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006205/0.4357, allocations: 394.7 kB / 372.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.4358, allocations: 31.42 kB / 372.8 MB, free: 19.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.436, allocations: 284 kB / 373.1 MB, free: 19.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.4361, allocations: 122.7 kB / 373.2 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.4363, allocations: 75.78 kB / 373.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4364, allocations: 348.8 kB / 373.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.4367, allocations: 99.06 kB / 373.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.4371, allocations: 197.5 kB / 373.9 MB, free: 19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006252/0.4377, allocations: 312.4 kB / 374.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4377, allocations: 1.188 kB / 374.2 MB, free: 18.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001053/0.4388, allocations: 447.2 kB / 374.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4388, allocations: 7.609 kB / 374.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.4389, allocations: 2.594 kB / 374.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.4393, allocations: 81.36 kB / 374.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.4397, allocations: 79.27 kB / 374.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.4421, allocations: 3.126 MB / 378 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.4425, allocations: 20.61 kB / 378 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.4425, allocations: 17.14 kB / 378 MB, free: 15.64 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.4428, allocations: 167.6 kB / 378.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.443, allocations: 45.06 kB / 378.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.4431, allocations: 46.34 kB / 378.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.4431, allocations: 3.344 kB / 378.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.002e-05/0.4431, allocations: 5.469 kB / 378.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4432, allocations: 3.156 kB / 378.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.4449, allocations: 0.938 MB / 379.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4449, allocations: 0 / 379.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.4452, allocations: 56.08 kB / 379.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/0.4455, allocations: 76.09 kB / 379.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.4455, allocations: 12.7 kB / 379.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.4479, allocations: 3.125 MB / 382.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.448, allocations: 1.688 kB / 382.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4491, allocations: 0.6161 MB / 383.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.4492, allocations: 119.6 kB / 383.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.4493, allocations: 6.562 kB / 383.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.4496, allocations: 28.81 kB / 383.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.4497, allocations: 23.92 kB / 383.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.4498, allocations: 11.7 kB / 383.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003325/0.4501, allocations: 281.5 kB / 383.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4501, allocations: 0.9688 kB / 383.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.4508, allocations: 115.8 kB / 383.7 MB, free: 11.06 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000159/0.4509, allocations: 106.6 kB / 383.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008944/0.4518, allocations: 0.5139 MB / 384.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4519, allocations: 0 / 384.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.4525, allocations: 391.6 kB / 384.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.453, allocations: 70.44 kB / 384.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.4549, allocations: 0.9454 MB / 385.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.4553, allocations: 0.8356 MB / 386.5 MB, free: 9.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001856/0.4555, allocations: 45.89 kB / 386.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.4556, allocations: 30.84 kB / 386.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4556, allocations: 0 / 386.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of Templates: time 0.01174/0.4674, allocations: 4.675 MB / 391.3 MB, free: 8.438 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches