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.001062/0.001062, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2412, allocations: 50.54 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004755/0.246, allocations: 4.111 MB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2478, allocations: 0.9541 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.248, allocations: 15.94 kB / 415.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.2483, allocations: 91.08 kB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.2487, allocations: 186.4 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.2491, allocations: 159.7 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.2497, allocations: 0.6771 MB / 416.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.25, allocations: 207 kB / 416.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2503, allocations: 267 kB / 416.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.2506, allocations: 294.6 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.2507, allocations: 56 kB / 417 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2509, allocations: 60 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.251, allocations: 127.5 kB / 417.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.2512, allocations: 302.5 kB / 417.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.2518, allocations: 0.6548 MB / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2518, allocations: 0 / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2518, allocations: 0 / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2518, allocations: 0 / 418.1 MB, free: 9.398 MB / 334.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.001401/0.2532, allocations: 0.865 MB / 419 MB, free: 8.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2533, allocations: 8.031 kB / 419 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.2536, allocations: 80.25 kB / 419 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.2541, allocations: 391.5 kB / 419.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.2541, allocations: 37.38 kB / 419.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.2542, allocations: 48.38 kB / 419.5 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.255, allocations: 483.5 kB / 420 MB, free: 7.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.255, allocations: 4 kB / 420 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.2551, allocations: 24 kB / 420 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2551, allocations: 12 kB / 420 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2557, allocations: 328.3 kB / 420.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.2582, allocations: 1.693 MB / 422 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.2586, allocations: 257.1 kB / 422.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2589, allocations: 149.6 kB / 422.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2589, allocations: 0 / 422.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2589, allocations: 38.56 kB / 422.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.352e-06/0.259, allocations: 4 kB / 422.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001785/0.2607, allocations: 0.9532 MB / 423.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2608, allocations: 81.11 kB / 423.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.2612, allocations: 393.6 kB / 423.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2612, allocations: 29.7 kB / 423.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.2614, allocations: 283.5 kB / 424.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.2615, allocations: 118.3 kB / 424.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2616, allocations: 74.05 kB / 424.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2618, allocations: 358.7 kB / 424.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.262, allocations: 108.8 kB / 424.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2622, allocations: 186.6 kB / 425 MB, free: 2.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.2627, allocations: 311.5 kB / 425.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2627, allocations: 0 / 425.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007903/0.2635, allocations: 446.4 kB / 425.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2635, allocations: 8 kB / 425.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2636, allocations: 0 / 425.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.2639, allocations: 85.84 kB / 425.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.2642, allocations: 75.91 kB / 425.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.2667, allocations: 3.127 MB / 429.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.2669, allocations: 20.05 kB / 429.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.267, allocations: 16 kB / 429.1 MB, free: 13.68 MB / 350.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.0001883/0.2672, allocations: 169.6 kB / 429.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.2673, allocations: 43.53 kB / 429.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.199e-05/0.2674, allocations: 43.47 kB / 429.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2674, allocations: 3.984 kB / 429.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2674, allocations: 0 / 429.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.2675, allocations: 136.3 kB / 429.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.2675, allocations: 8 kB / 429.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2679, allocations: 27.97 kB / 429.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.268, allocations: 23.97 kB / 429.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009262/0.2689, allocations: 493.6 kB / 430 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007297/0.2696, allocations: 0.6425 MB / 430.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001857/0.2698, allocations: 106.6 kB / 430.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.2701, allocations: 275.2 kB / 431 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Backend: time 6.51e-07/0.2701, allocations: 3.938 kB / 431 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2713, allocations: 0.5168 MB / 431.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.001558/0.2729, allocations: 1.405 MB / 433 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Templates: time 0.009566/0.2825, allocations: 5.162 MB / 438.1 MB, free: 4.543 MB / 350.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 -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