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.000945/0.000945, allocations: 97.97 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.7 MB / 247.4 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002304/0.0002304, allocations: 8 kB / 308.4 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08698, allocations: 51.52 MB / 359.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004046/0.09108, allocations: 3.731 MB / 363.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.09292, allocations: 0.9426 MB / 364.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.09328, allocations: 15.94 kB / 364.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.09351, allocations: 71.44 kB / 364.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.09395, allocations: 150.8 kB / 364.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.09434, allocations: 131.9 kB / 364.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.09504, allocations: 0.6497 MB / 365.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003141/0.09537, allocations: 179.9 kB / 365.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.09573, allocations: 231 kB / 366 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.09605, allocations: 262.7 kB / 366.3 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.09614, allocations: 32 kB / 366.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.09625, allocations: 36 kB / 366.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.09634, allocations: 103.5 kB / 366.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.09662, allocations: 308.1 kB / 366.7 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.09705, allocations: 474.8 kB / 367.2 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09706, allocations: 4 kB / 367.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.09707, allocations: 0 / 367.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.901e-05/0.0971, allocations: 0 / 367.2 MB, free: 5.883 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.001359/0.09846, allocations: 0.7794 MB / 368 MB, free: 5.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.09851, allocations: 11.97 kB / 368 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.09886, allocations: 96.16 kB / 368.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.09937, allocations: 367.7 kB / 368.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.09941, allocations: 37.38 kB / 368.5 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.0995, allocations: 52.36 kB / 368.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.1003, allocations: 487.5 kB / 369 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1004, allocations: 0 / 369 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1004, allocations: 20 kB / 369 MB, free: 3.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1004, allocations: 12 kB / 369 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.101, allocations: 340.3 kB / 369.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.1037, allocations: 1.724 MB / 371.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.1041, allocations: 273 kB / 371.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1044, allocations: 149.9 kB / 371.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1044, allocations: 4 kB / 371.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1044, allocations: 46.47 kB / 371.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.1045, allocations: 0 / 371.5 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001826/0.1063, allocations: 0.9652 MB / 372.5 MB, free: 256 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1063, allocations: 81.11 kB / 372.6 MB, free: 156 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1611/0.2675, allocations: 384.5 kB / 373 MB, free: 19.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.759e-05/0.2676, allocations: 35.23 kB / 373 MB, free: 19.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2678, allocations: 289.7 kB / 373.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.2679, allocations: 119.1 kB / 373.4 MB, free: 18.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.268, allocations: 39.41 kB / 373.4 MB, free: 18.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.2681, allocations: 352.4 kB / 373.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.2683, allocations: 105.7 kB / 373.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.2686, allocations: 196.8 kB / 374.1 MB, free: 18.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.2691, allocations: 318.7 kB / 374.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2691, allocations: 5.422 kB / 374.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009183/0.2701, allocations: 454.2 kB / 374.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2701, allocations: 6.281 kB / 374.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2701, allocations: 2.344 kB / 374.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.2705, allocations: 89.75 kB / 374.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2708, allocations: 82.52 kB / 375 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.2728, allocations: 2.858 MB / 377.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.2732, allocations: 17.36 kB / 377.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.2732, allocations: 14.84 kB / 377.9 MB, free: 15.67 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.0002089/0.2734, allocations: 173.7 kB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.2735, allocations: 41.31 kB / 378.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/0.2736, allocations: 45.38 kB / 378.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2736, allocations: 3.062 kB / 378.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.2736, allocations: 6.797 kB / 378.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2736, allocations: 2.438 kB / 378.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.275, allocations: 0.9413 MB / 379.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2751, allocations: 0 / 379.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.2753, allocations: 52.75 kB / 379.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.2755, allocations: 80.05 kB / 379.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.2756, allocations: 9.172 kB / 379.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.2772, allocations: 2.859 MB / 382.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2772, allocations: 0 / 382.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.2781, allocations: 0.6318 MB / 382.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.2782, allocations: 118.9 kB / 382.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2782, allocations: 6.75 kB / 382.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.2785, allocations: 36 kB / 382.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.2786, allocations: 28.34 kB / 382.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.2787, allocations: 12.47 kB / 382.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.2789, allocations: 274.4 kB / 383.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.279, allocations: 0 / 383.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005774/0.2795, allocations: 115.4 kB / 383.3 MB, free: 11.52 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.0001285/0.2797, allocations: 112.2 kB / 383.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008048/0.2805, allocations: 0.5261 MB / 384 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2805, allocations: 7.562 kB / 384 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.281, allocations: 395 kB / 384.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.2815, allocations: 58.17 kB / 384.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.2831, allocations: 1.262 MB / 385.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2834, allocations: 0.8388 MB / 386.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.2835, allocations: 33.7 kB / 386.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2835, allocations: 0 / 386.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of Templates: time 0.01215/0.2957, allocations: 8.88 MB / 395.4 MB, free: 6.207 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.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