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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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=50000,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=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2532, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005291/0.2585, allocations: 3.7 MB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2603, allocations: 0.9385 MB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.2605, allocations: 11.94 kB / 437.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.2608, allocations: 91.08 kB / 437.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.2612, allocations: 190.4 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.2615, allocations: 159.7 kB / 437.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.2623, allocations: 0.6732 MB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2625, allocations: 135.4 kB / 438.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.2629, allocations: 275 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2632, allocations: 258.6 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.024e-05/0.2633, allocations: 52 kB / 438.9 MB, free: 20 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.2634, allocations: 60.05 kB / 438.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2635, allocations: 127.4 kB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.2638, allocations: 270.8 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007214/0.2645, allocations: 0.6486 MB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2645, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2645, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2645, allocations: 0 / 440 MB, free: 14.92 MB / 350.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.001433/0.266, allocations: 0.8008 MB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.266, allocations: 15.98 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.2663, allocations: 92.48 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.2669, allocations: 322.1 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.2669, allocations: 37.38 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.267, allocations: 52.33 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.2679, allocations: 0.6266 MB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2679, allocations: 4 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.268, allocations: 20 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.268, allocations: 12 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.2686, allocations: 332.4 kB / 442.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.2712, allocations: 1.448 MB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.2716, allocations: 245.1 kB / 444 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.2719, allocations: 136.2 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2719, allocations: 4 kB / 444.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2719, allocations: 38.56 kB / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.934e-06/0.2719, allocations: 0 / 444.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001833/0.2738, allocations: 0.8192 MB / 445 MB, free: 9.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.2738, allocations: 81.11 kB / 445 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.2742, allocations: 381.5 kB / 445.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.2743, allocations: 33.7 kB / 445.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.2745, allocations: 296.1 kB / 445.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.2746, allocations: 123 kB / 445.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2747, allocations: 78.08 kB / 445.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2748, allocations: 354.7 kB / 446.3 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2751, allocations: 96.83 kB / 446.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.2753, allocations: 194.6 kB / 446.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.2758, allocations: 308.2 kB / 446.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2758, allocations: 0 / 446.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008276/0.2766, allocations: 442.7 kB / 447.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2767, allocations: 8 kB / 447.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2767, allocations: 4 kB / 447.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.277, allocations: 85.75 kB / 447.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.2773, allocations: 83.83 kB / 447.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.2799, allocations: 2.863 MB / 450.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.2802, allocations: 23.92 kB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.2802, allocations: 16 kB / 450.4 MB, free: 3.941 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.000223/0.2804, allocations: 161.7 kB / 450.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.6e-05/0.2805, allocations: 43.72 kB / 450.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.2806, allocations: 39.36 kB / 450.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2806, allocations: 8 kB / 450.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2806, allocations: 4 kB / 450.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2806, allocations: 3.984 kB / 450.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.2819, allocations: 0.7956 MB / 451.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2819, allocations: 4 kB / 451.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2821, allocations: 48.09 kB / 451.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.2824, allocations: 85.59 kB / 451.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.2824, allocations: 8 kB / 451.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.2848, allocations: 2.867 MB / 454.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2848, allocations: 0 / 454.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.2858, allocations: 0.6187 MB / 455 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.2858, allocations: 35.73 kB / 455.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2859, allocations: 8 kB / 455.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.2862, allocations: 35.97 kB / 455.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2863, allocations: 23.95 kB / 455.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2863, allocations: 8 kB / 455.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.2866, allocations: 267.2 kB / 455.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2866, allocations: 0 / 455.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000598/0.2872, allocations: 120 kB / 455.5 MB, free: 14.49 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.0001371/0.2873, allocations: 111.1 kB / 455.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009144/0.2882, allocations: 0.4994 MB / 456.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2882, allocations: 3.938 kB / 456.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.2888, allocations: 387.5 kB / 456.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2893, allocations: 50.05 kB / 456.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.291, allocations: 0.988 MB / 457.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2912, allocations: 238.2 kB / 457.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2913, allocations: 35.36 kB / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2913, allocations: 0 / 457.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01217/0.3035, allocations: 9.075 MB / 466.9 MB, free: 3.004 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.341474742162973]