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.001843/0.001843, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.97 kB / 307.7 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.1019, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005527/0.1074, allocations: 4.108 MB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1094, allocations: 0.958 MB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.1096, allocations: 8 kB / 363.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1099, allocations: 91.08 kB / 363.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.1102, allocations: 186.4 kB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1106, allocations: 151.8 kB / 363.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000693/0.1113, allocations: 0.6771 MB / 364.4 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1117, allocations: 211 kB / 364.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.112, allocations: 263 kB / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1124, allocations: 294.6 kB / 365.1 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.608e-05/0.1125, allocations: 56 kB / 365.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1127, allocations: 64 kB / 365.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1128, allocations: 119.5 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.1131, allocations: 314.4 kB / 365.6 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.1138, allocations: 0.6424 MB / 366.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1138, allocations: 0 / 366.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1138, allocations: 0 / 366.3 MB, free: 5.949 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1138, allocations: 0 / 366.3 MB, free: 5.949 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.001522/0.1154, allocations: 0.8689 MB / 367.2 MB, free: 5.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1154, allocations: 8.031 kB / 367.2 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.1157, allocations: 84.17 kB / 367.2 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.1163, allocations: 371.6 kB / 367.6 MB, free: 4.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1163, allocations: 37.38 kB / 367.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.1164, allocations: 48.38 kB / 367.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.1172, allocations: 487.5 kB / 368.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1173, allocations: 0 / 368.2 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/0.1173, allocations: 24 kB / 368.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1173, allocations: 15.98 kB / 368.2 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.118, allocations: 324.3 kB / 368.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.1208, allocations: 1.709 MB / 370.2 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.1213, allocations: 261.1 kB / 370.5 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.1216, allocations: 141.7 kB / 370.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1216, allocations: 4.312 kB / 370.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.1217, allocations: 38.56 kB / 370.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.1217, allocations: 4 kB / 370.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001984/0.1237, allocations: 0.953 MB / 371.6 MB, free: 300 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.1238, allocations: 85.05 kB / 371.7 MB, free: 196 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1503/0.274, allocations: 377.7 kB / 372.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.2741, allocations: 35.45 kB / 372.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2743, allocations: 289.8 kB / 372.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.2744, allocations: 117.1 kB / 372.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2745, allocations: 70.48 kB / 372.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.2746, allocations: 351.6 kB / 372.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.2749, allocations: 104.3 kB / 373 MB, free: 19.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2751, allocations: 191.4 kB / 373.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.2756, allocations: 316 kB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2756, allocations: 1.469 kB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008411/0.2764, allocations: 447.2 kB / 374 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2764, allocations: 9.062 kB / 374 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2765, allocations: 2.812 kB / 374 MB, free: 19.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003347/0.2768, allocations: 83.86 kB / 374.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.2772, allocations: 80.47 kB / 374.1 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.279, allocations: 3.122 MB / 377.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.2793, allocations: 21.11 kB / 377.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.2794, allocations: 16.66 kB / 377.3 MB, free: 16.21 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.0001888/0.2796, allocations: 164.2 kB / 377.4 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.2797, allocations: 48.81 kB / 377.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.2797, allocations: 50.11 kB / 377.5 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2797, allocations: 5.203 kB / 377.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2798, allocations: 6.219 kB / 377.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2798, allocations: 2.328 kB / 377.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.2811, allocations: 0.937 MB / 378.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2811, allocations: 0.5156 kB / 378.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.2813, allocations: 42.83 kB / 378.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.2816, allocations: 88.66 kB / 378.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2816, allocations: 6.734 kB / 378.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.2833, allocations: 3.123 MB / 381.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2833, allocations: 9.219 kB / 381.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.2841, allocations: 0.6103 MB / 382.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.2842, allocations: 114.8 kB / 382.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.2843, allocations: 7.422 kB / 382.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.2846, allocations: 31.17 kB / 382.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.2847, allocations: 21 kB / 382.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2847, allocations: 11.22 kB / 382.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.2851, allocations: 278.2 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2851, allocations: 0 / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006147/0.2857, allocations: 117.7 kB / 382.9 MB, free: 11.64 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.0001183/0.2858, allocations: 109.6 kB / 383 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.2867, allocations: 0.5291 MB / 383.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2867, allocations: 4.25 kB / 383.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.2872, allocations: 393.6 kB / 384 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.2878, allocations: 59.44 kB / 384 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2893, allocations: 0.9862 MB / 385 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2896, allocations: 0.8367 MB / 385.8 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.2897, allocations: 37.52 kB / 385.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2897, allocations: 0 / 385.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.0114/0.3011, allocations: 8.96 MB / 394.8 MB, free: 6.543 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 -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.1.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