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.001442/0.001442, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009212, allocations: 90.48 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002629, allocations: 4 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2577, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09989/0.3577, allocations: 80.73 MB / 482.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.358, allocations: 75.97 kB / 482.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02165/0.3796, allocations: 8.402 MB / 490.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3797, allocations: 0 / 490.7 MB, free: 7.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.3797, allocations: 11.98 kB / 490.7 MB, free: 7.219 MB / 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.001267/0.381, allocations: 0.7753 MB / 491.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.381, allocations: 8.031 kB / 491.5 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3812, allocations: 67.33 kB / 491.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3816, allocations: 346.6 kB / 491.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.3817, allocations: 37 kB / 491.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.3818, allocations: 59.84 kB / 492 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.3826, allocations: 475.2 kB / 492.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3826, allocations: 0 / 492.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.3827, allocations: 28 kB / 492.5 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3827, allocations: 12 kB / 492.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.3833, allocations: 332.3 kB / 492.8 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.3859, allocations: 1.713 MB / 494.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.3863, allocations: 261.1 kB / 494.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3863, allocations: 4 kB / 494.8 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3864, allocations: 46.7 kB / 494.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.627e-06/0.3864, allocations: 0 / 494.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001814/0.3882, allocations: 0.972 MB / 495.8 MB, free: 1.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3883, allocations: 85.09 kB / 495.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.3886, allocations: 340.7 kB / 496.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3887, allocations: 33.7 kB / 496.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3889, allocations: 283.4 kB / 496.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/0.389, allocations: 114.4 kB / 496.6 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.389, allocations: 12 kB / 496.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3892, allocations: 346.8 kB / 497 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3894, allocations: 100.8 kB / 497.1 MB, free: 492 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3897, allocations: 198.7 kB / 497.3 MB, free: 252 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3899, allocations: 134.8 kB / 497.4 MB, free: 124 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3899, allocations: 3.938 kB / 497.4 MB, free: 120 kB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008156/0.3907, allocations: 457.2 kB / 497.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3908, allocations: 4 kB / 497.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3908, allocations: 4 kB / 497.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.3911, allocations: 81.97 kB / 498 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.3915, allocations: 87.83 kB / 498 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.3938, allocations: 2.877 MB / 0.4892 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.3941, allocations: 19.97 kB / 0.4892 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.3942, allocations: 16 kB / 0.4892 GB, free: 12.29 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.0003032/0.3945, allocations: 157.8 kB / 0.4894 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3946, allocations: 47.39 kB / 0.4894 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/0.3947, allocations: 51.45 kB / 0.4895 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3947, allocations: 7.938 kB / 0.4895 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.3947, allocations: 4.062 kB / 0.4895 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.3947, allocations: 0 / 0.4895 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.3962, allocations: 0.9451 MB / 0.4904 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3962, allocations: 0 / 0.4904 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.3964, allocations: 47.97 kB / 0.4904 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.3967, allocations: 89.58 kB / 0.4905 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3967, allocations: 7.953 kB / 0.4905 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.399, allocations: 2.869 MB / 0.4933 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.399, allocations: 0 / 0.4933 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.3999, allocations: 0.6308 MB / 0.4939 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4, allocations: 124.6 kB / 0.4941 GB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.4, allocations: 12 kB / 0.4941 GB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.4004, allocations: 35.97 kB / 0.4941 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.4005, allocations: 19.97 kB / 0.4941 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.4005, allocations: 11.98 kB / 0.4941 GB, free: 6.852 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002779/0.4008, allocations: 271.2 kB / 0.4944 GB, free: 6.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4008, allocations: 0 / 0.4944 GB, free: 6.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.4014, allocations: 116 kB / 0.4945 GB, free: 6.477 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.0002109/0.4016, allocations: 118.3 kB / 0.4946 GB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000876/0.4025, allocations: 0.5167 MB / 0.4951 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4025, allocations: 0 / 0.4951 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.4031, allocations: 397.7 kB / 0.4955 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.4035, allocations: 64.34 kB / 0.4956 GB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.4052, allocations: 1.169 MB / 0.4967 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.4056, allocations: 0.847 MB / 0.4975 GB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.4058, allocations: 39.3 kB / 0.4976 GB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.4059, allocations: 35.42 kB / 0.4976 GB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4059, allocations: 0 / 0.4976 GB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.2041/0.61, allocations: 4.234 MB / 0.5017 GB, free: 98.02 MB / 378.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