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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009621/0.0009621, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007893/0.0007892, allocations: 92.53 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.0002059, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.192, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08777/0.2798, allocations: 81.54 MB / 490.9 MB, free: 9.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.2801, allocations: 73.19 kB / 491 MB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02177/0.3018, allocations: 8.477 MB / 499.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3019, allocations: 0 / 499.5 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.88e-05/0.3019, allocations: 19.92 kB / 499.5 MB, free: 488 kB / 362.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.001274/0.3032, allocations: 0.787 MB / 0.4886 GB, free: 15.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3032, allocations: 8.031 kB / 0.4886 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.3035, allocations: 83.31 kB / 0.4887 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.304, allocations: 362.5 kB / 0.489 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.304, allocations: 37 kB / 0.489 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.3041, allocations: 48.22 kB / 0.4891 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.3048, allocations: 475.2 kB / 0.4895 GB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3048, allocations: 3.938 kB / 0.4895 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.3049, allocations: 24 kB / 0.4896 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3049, allocations: 16 kB / 0.4896 GB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.3055, allocations: 332.3 kB / 0.4899 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002562/0.3081, allocations: 1.713 MB / 0.4916 GB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.3085, allocations: 265.1 kB / 0.4918 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3085, allocations: 7.984 kB / 0.4918 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.3086, allocations: 38.56 kB / 0.4919 GB, free: 12.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.3086, allocations: 0 / 0.4919 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001767/0.3104, allocations: 0.969 MB / 0.4928 GB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3104, allocations: 81.11 kB / 0.4929 GB, free: 10.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.3108, allocations: 340.8 kB / 0.4932 GB, free: 10.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.3108, allocations: 33.64 kB / 0.4933 GB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.3109, allocations: 287.5 kB / 0.4935 GB, free: 10.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.311, allocations: 110.4 kB / 0.4936 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.311, allocations: 16 kB / 0.4936 GB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3112, allocations: 346.8 kB / 0.494 GB, free: 9.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3114, allocations: 104.8 kB / 0.4941 GB, free: 9.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3116, allocations: 198.8 kB / 0.4943 GB, free: 9.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.3118, allocations: 133.9 kB / 0.4944 GB, free: 9.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3119, allocations: 0 / 0.4944 GB, free: 9.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007603/0.3126, allocations: 453.3 kB / 0.4948 GB, free: 8.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3126, allocations: 11.95 kB / 0.4948 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3127, allocations: 4 kB / 0.4948 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.313, allocations: 85.88 kB / 0.4949 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.3133, allocations: 79.91 kB / 0.495 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.3153, allocations: 2.861 MB / 0.4978 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3156, allocations: 28.31 kB / 0.4978 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3156, allocations: 19.98 kB / 0.4978 GB, free: 5.531 MB / 378.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.0001669/0.3158, allocations: 169.6 kB / 0.498 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.3159, allocations: 39.53 kB / 0.498 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.316, allocations: 51.41 kB / 0.4981 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.316, allocations: 4 kB / 0.4981 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.316, allocations: 4 kB / 0.4981 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.316, allocations: 7.984 kB / 0.4981 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3172, allocations: 0.9401 MB / 0.499 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3172, allocations: 0 / 0.499 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.3174, allocations: 47.91 kB / 0.4991 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002551/0.3177, allocations: 81.64 kB / 0.4991 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3177, allocations: 8 kB / 0.4992 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.3197, allocations: 2.877 MB / 0.502 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3197, allocations: 0 / 0.502 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.3205, allocations: 0.6376 MB / 0.5026 GB, free: 304 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.3206, allocations: 112.7 kB / 0.5027 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.3207, allocations: 8 kB / 0.5027 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.321, allocations: 35.98 kB / 0.5027 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3211, allocations: 27.89 kB / 0.5028 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3211, allocations: 8 kB / 0.5028 GB, free: 92 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1504/0.4715, allocations: 270.4 kB / 0.503 GB, free: 93.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4715, allocations: 0 / 0.503 GB, free: 93.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000869/0.4724, allocations: 118.2 kB / 0.5031 GB, free: 93.21 MB / 378.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.0001986/0.4726, allocations: 115.9 kB / 0.5033 GB, free: 93.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.4737, allocations: 0.5157 MB / 0.5038 GB, free: 92.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4737, allocations: 0.6875 kB / 0.5038 GB, free: 92.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.4744, allocations: 392.3 kB / 0.5041 GB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.4748, allocations: 51.94 kB / 0.5042 GB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.4766, allocations: 1.184 MB / 0.5053 GB, free: 92.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4769, allocations: 0.8461 MB / 0.5062 GB, free: 91.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.4771, allocations: 47.66 kB / 0.5062 GB, free: 91.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.4772, allocations: 29.61 kB / 0.5062 GB, free: 91.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4772, allocations: 3.062 kB / 0.5062 GB, free: 91.37 MB / 378.7 MB Notification: Performance of Templates: time 0.00801/0.4852, allocations: 4.24 MB / 0.5104 GB, free: 91.16 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches