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.002032/0.002032, allocations: 200.3 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 226.5 MB / 245.4 MB, free: 8.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009034/0.0009032, allocations: 99.62 kB / 297.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002426, allocations: 8 kB / 358.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2748, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.3892, allocations: 81.47 MB / 490.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.3895, allocations: 67.97 kB / 490.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.4138, allocations: 8.485 MB / 499.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4139, allocations: 0 / 499.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.535e-05/0.414, allocations: 12 kB / 499.4 MB, free: 1.414 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.001923/0.4159, allocations: 0.7832 MB / 0.4885 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.416, allocations: 8.031 kB / 0.4885 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.4165, allocations: 84.25 kB / 0.4886 GB, free: 500 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.4172, allocations: 363.7 kB / 0.4889 GB, free: 100 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.4173, allocations: 37.38 kB / 0.4889 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4174, allocations: 56.28 kB / 0.489 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.4184, allocations: 479.9 kB / 0.4895 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.4184, allocations: 4.344 kB / 0.4895 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.4185, allocations: 23.94 kB / 0.4895 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4185, allocations: 15.94 kB / 0.4895 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.4192, allocations: 332.3 kB / 0.4898 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.4226, allocations: 1.713 MB / 0.4915 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.4231, allocations: 271.8 kB / 0.4917 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4234, allocations: 149.3 kB / 0.4919 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4235, allocations: 4 kB / 0.4919 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4235, allocations: 38.56 kB / 0.4919 GB, free: 12.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.797e-06/0.4235, allocations: 0 / 0.4919 GB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002422/0.4259, allocations: 0.9697 MB / 0.4929 GB, free: 11.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.426, allocations: 81.11 kB / 0.493 GB, free: 11.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.4266, allocations: 381.5 kB / 0.4933 GB, free: 11.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.4267, allocations: 29.7 kB / 0.4933 GB, free: 11.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.427, allocations: 295.5 kB / 0.4936 GB, free: 11.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4272, allocations: 106.4 kB / 0.4937 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.4272, allocations: 12 kB / 0.4937 GB, free: 10.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4274, allocations: 350.7 kB / 0.4941 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.4277, allocations: 104.8 kB / 0.4942 GB, free: 10.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.428, allocations: 198.6 kB / 0.4944 GB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.4286, allocations: 319.4 kB / 0.4947 GB, free: 9.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4286, allocations: 0 / 0.4947 GB, free: 9.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009474/0.4296, allocations: 453.5 kB / 0.4951 GB, free: 9.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4296, allocations: 8 kB / 0.4951 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.4296, allocations: 4 kB / 0.4951 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.43, allocations: 81.88 kB / 0.4952 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.4304, allocations: 79.91 kB / 0.4953 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.434, allocations: 2.861 MB / 0.4981 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.4345, allocations: 27.91 kB / 0.4981 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.4346, allocations: 19.94 kB / 0.4981 GB, free: 6.062 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.0004145/0.435, allocations: 161.8 kB / 0.4983 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.4352, allocations: 47.66 kB / 0.4983 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.529e-05/0.4353, allocations: 39.47 kB / 0.4983 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4353, allocations: 4 kB / 0.4984 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.4353, allocations: 4 kB / 0.4984 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4353, allocations: 8 kB / 0.4984 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4373, allocations: 0.9439 MB / 0.4993 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4373, allocations: 0 / 0.4993 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.4375, allocations: 55.91 kB / 0.4993 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/0.4379, allocations: 77.64 kB / 0.4994 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4379, allocations: 12 kB / 0.4994 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.4408, allocations: 2.858 MB / 0.5022 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4409, allocations: 0 / 0.5022 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.442, allocations: 0.6114 MB / 0.5028 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.4422, allocations: 112.7 kB / 0.5029 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.4422, allocations: 8 kB / 0.5029 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.4426, allocations: 43.91 kB / 0.503 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.4427, allocations: 23.91 kB / 0.503 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.4427, allocations: 15.98 kB / 0.503 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.4431, allocations: 267.2 kB / 0.5033 GB, free: 404 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4431, allocations: 0 / 0.5033 GB, free: 404 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.4438, allocations: 120 kB / 0.5034 GB, free: 284 kB / 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.0002313/0.4441, allocations: 115.2 kB / 0.5035 GB, free: 156 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2591/0.7032, allocations: 0.5135 MB / 0.504 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.7033, allocations: 1.25 kB / 0.504 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.704, allocations: 393.7 kB / 0.5044 GB, free: 94.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/0.7048, allocations: 62.83 kB / 0.5044 GB, free: 94.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.7069, allocations: 1.17 MB / 0.5056 GB, free: 93.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.7073, allocations: 0.8407 MB / 0.5064 GB, free: 92.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.7075, allocations: 45.17 kB / 0.5064 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.7076, allocations: 33.64 kB / 0.5065 GB, free: 92.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7076, allocations: 3.062 kB / 0.5065 GB, free: 92.91 MB / 378.7 MB Notification: Performance of Templates: time 0.009811/0.7174, allocations: 4.286 MB / 0.5106 GB, free: 92.71 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/jenkins1/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