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.001229/0.001229, allocations: 118.6 kB / 18.45 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 207.6 kB / 19.4 MB, free: 3.516 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.395/1.395, allocations: 227.7 MB / 247.9 MB, free: 10.21 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.001844/0.001844, allocations: 63.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2429, allocations: 50.54 MB / 410.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005182/0.2481, allocations: 4.126 MB / 414.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2496, allocations: 0.9541 MB / 415.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.2498, allocations: 11.94 kB / 415.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.25, allocations: 95.06 kB / 415.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.2503, allocations: 190.4 kB / 415.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2507, allocations: 155.7 kB / 415.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006773/0.2513, allocations: 0.6732 MB / 416.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.2516, allocations: 151 kB / 416.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.2519, allocations: 271 kB / 416.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.2522, allocations: 294.6 kB / 417.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.2523, allocations: 59.94 kB / 417.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.2524, allocations: 60 kB / 417.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2525, allocations: 123.5 kB / 417.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.2528, allocations: 310.4 kB / 417.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.2535, allocations: 0.6456 MB / 418.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2535, allocations: 0 / 418.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2535, allocations: 0 / 418.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2535, allocations: 7.938 kB / 418.3 MB, free: 9.457 MB / 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.001413/0.2549, allocations: 0.8839 MB / 419.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.2549, allocations: 12.03 kB / 419.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.2552, allocations: 84.5 kB / 419.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.2557, allocations: 372 kB / 419.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.2558, allocations: 37.38 kB / 419.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.2559, allocations: 60.31 kB / 419.8 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/0.2566, allocations: 479.5 kB / 420.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2566, allocations: 0 / 420.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.2567, allocations: 20 kB / 420.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2567, allocations: 12 kB / 420.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.2573, allocations: 328.3 kB / 420.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.26, allocations: 1.69 MB / 422.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.2604, allocations: 257 kB / 422.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2607, allocations: 129.7 kB / 422.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.2607, allocations: 11.94 kB / 422.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2607, allocations: 34.56 kB / 422.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.2607, allocations: 0 / 422.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001877/0.2626, allocations: 0.9662 MB / 423.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2626, allocations: 81.11 kB / 423.7 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.2631, allocations: 393.6 kB / 424.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.2631, allocations: 33.7 kB / 424.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2633, allocations: 296.2 kB / 424.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.2634, allocations: 123 kB / 424.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2635, allocations: 66.12 kB / 424.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2637, allocations: 358.7 kB / 425 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.2639, allocations: 100.8 kB / 425.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.2642, allocations: 194.6 kB / 425.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/0.2647, allocations: 310 kB / 425.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2647, allocations: 7.938 kB / 425.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008368/0.2655, allocations: 442.3 kB / 426 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2655, allocations: 12.03 kB / 426 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2655, allocations: 7.938 kB / 426 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.2659, allocations: 81.59 kB / 426.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.2662, allocations: 83.89 kB / 426.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.2689, allocations: 3.124 MB / 429.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.2692, allocations: 19.92 kB / 429.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2692, allocations: 16 kB / 429.4 MB, free: 13.71 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.0002017/0.2694, allocations: 169.7 kB / 429.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.2695, allocations: 47.77 kB / 429.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.837e-05/0.2696, allocations: 43.47 kB / 429.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2696, allocations: 7.984 kB / 429.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2696, allocations: 7.938 kB / 429.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2696, allocations: 3.938 kB / 429.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.271, allocations: 0.9364 MB / 430.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.271, allocations: 4 kB / 430.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2712, allocations: 39.97 kB / 430.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.2715, allocations: 85.58 kB / 430.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2715, allocations: 8 kB / 430.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.2741, allocations: 3.127 MB / 433.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2741, allocations: 0 / 433.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009525/0.2751, allocations: 0.6136 MB / 434.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2752, allocations: 116.9 kB / 434.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.2752, allocations: 7.938 kB / 434.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2755, allocations: 39.97 kB / 434.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.2756, allocations: 20.06 kB / 434.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2756, allocations: 8 kB / 434.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.2759, allocations: 275.2 kB / 434.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2759, allocations: 0 / 434.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.2765, allocations: 116 kB / 435 MB, free: 7.652 MB / 350.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.0001527/0.2767, allocations: 119.2 kB / 435.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.2776, allocations: 497 kB / 435.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2776, allocations: 0.625 kB / 435.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.2782, allocations: 387.7 kB / 436 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.2786, allocations: 65.59 kB / 436.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.2803, allocations: 0.9692 MB / 437 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.2807, allocations: 0.8392 MB / 437.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.2809, allocations: 43.28 kB / 437.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/0.281, allocations: 31.44 kB / 437.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.281, allocations: 0 / 437.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of Templates: time 0.01027/0.2912, allocations: 4.805 MB / 442.7 MB, free: 15.84 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/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