Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.62/1.62, allocations: 230.4 MB / 250 MB, free: 8.988 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.83 kB / 367.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2745, allocations: 53.31 MB / 420.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005855/0.2804, allocations: 4.131 MB / 424.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.2825, allocations: 0.958 MB / 425.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.2827, allocations: 11.94 kB / 425.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.283, allocations: 95.06 kB / 425.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.2834, allocations: 182.4 kB / 426.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2839, allocations: 159.7 kB / 426.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.2847, allocations: 0.6771 MB / 426.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.2851, allocations: 147 kB / 427 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.2857, allocations: 274.9 kB / 427.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.2861, allocations: 290.6 kB / 427.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.2862, allocations: 56 kB / 427.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.2864, allocations: 56 kB / 427.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.2865, allocations: 135.5 kB / 427.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.2868, allocations: 302.5 kB / 428.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.2877, allocations: 0.6571 MB / 428.8 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2877, allocations: 0 / 428.8 MB, free: 168 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2877, allocations: 0 / 428.8 MB, free: 168 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2877, allocations: 0 / 428.8 MB, free: 168 kB / 334.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.00159/0.2893, allocations: 0.8802 MB / 429.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2894, allocations: 12.03 kB / 429.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.2896, allocations: 88.48 kB / 429.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.2903, allocations: 376 kB / 430.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.2904, allocations: 37.38 kB / 430.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.2904, allocations: 52.33 kB / 430.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/0.2913, allocations: 483.5 kB / 430.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2913, allocations: 4 kB / 430.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.2914, allocations: 20 kB / 430.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2914, allocations: 12 kB / 430.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.292, allocations: 332.3 kB / 431 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.2948, allocations: 1.701 MB / 432.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.2953, allocations: 237.2 kB / 433 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.2955, allocations: 140.4 kB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.2956, allocations: 8 kB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.2956, allocations: 38.56 kB / 433.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.2956, allocations: 0 / 433.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002061/0.2977, allocations: 0.9579 MB / 434.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.2977, allocations: 81.11 kB / 434.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.2982, allocations: 397.6 kB / 434.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.2983, allocations: 29.7 kB / 434.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.2985, allocations: 296.2 kB / 434.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.2986, allocations: 126.9 kB / 435 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2987, allocations: 74.12 kB / 435.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.2989, allocations: 350.7 kB / 435.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.2991, allocations: 100.8 kB / 435.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.2995, allocations: 190.6 kB / 435.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.3, allocations: 312.7 kB / 436 MB, free: 8.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3, allocations: 3.984 kB / 436 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008957/0.3009, allocations: 441.4 kB / 436.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3009, allocations: 8.312 kB / 436.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3009, allocations: 7.938 kB / 436.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.3013, allocations: 77.66 kB / 436.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.3016, allocations: 87.83 kB / 436.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.3046, allocations: 3.128 MB / 439.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.305, allocations: 19.89 kB / 439.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.305, allocations: 16 kB / 439.8 MB, free: 4.418 MB / 350.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.0002521/0.3052, allocations: 161.9 kB / 440 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3053, allocations: 47.7 kB / 440 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.654e-05/0.3054, allocations: 55.52 kB / 440.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3054, allocations: 4 kB / 440.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3054, allocations: 3.938 kB / 440.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3054, allocations: 4 kB / 440.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.307, allocations: 0.9364 MB / 441 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.307, allocations: 0 / 441 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3073, allocations: 47.91 kB / 441.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.3076, allocations: 81.64 kB / 441.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3076, allocations: 8 kB / 441.2 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.3105, allocations: 3.127 MB / 444.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3105, allocations: 4 kB / 444.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3117, allocations: 0.6144 MB / 444.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.3118, allocations: 112.9 kB / 445 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.3119, allocations: 12 kB / 445 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.3122, allocations: 35.92 kB / 445.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.3123, allocations: 23.95 kB / 445.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3124, allocations: 8 kB / 445.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.3127, allocations: 275.2 kB / 445.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3127, allocations: 0 / 445.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006413/0.3133, allocations: 120 kB / 445.5 MB, free: 14.35 MB / 366.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.000179/0.3135, allocations: 111.2 kB / 445.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3146, allocations: 498.2 kB / 446.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3146, allocations: 0 / 446.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.3153, allocations: 385.8 kB / 446.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.3158, allocations: 65.47 kB / 446.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.3177, allocations: 0.9783 MB / 447.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.3182, allocations: 0.8431 MB / 448.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.3184, allocations: 39.3 kB / 448.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3185, allocations: 27.44 kB / 448.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 1.823e-06/0.3185, allocations: 4 kB / 448.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01194/0.3305, allocations: 4.823 MB / 453.2 MB, free: 6.523 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches