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.001646/0.001646, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001983/0.001983, allocations: 213.4 kB / 23 MB, free: 5.609 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.512/1.512, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.002344/0.002344, allocations: 59.91 kB / 376.5 MB, free: 3.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2718, allocations: 53.33 MB / 429.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005986/0.2778, allocations: 4.139 MB / 434 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.28, allocations: 0.958 MB / 434.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.2803, allocations: 11.94 kB / 434.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.2806, allocations: 95.06 kB / 435 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.2811, allocations: 190.4 kB / 435.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.2816, allocations: 159.7 kB / 435.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007844/0.2824, allocations: 0.6732 MB / 436.1 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.2827, allocations: 147 kB / 436.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003996/0.2831, allocations: 263 kB / 436.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.2834, allocations: 298.6 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.2835, allocations: 60 kB / 436.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.2836, allocations: 60 kB / 436.9 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2837, allocations: 127.5 kB / 437 MB, free: 328 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.284, allocations: 302.5 kB / 437.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007716/0.2848, allocations: 0.6509 MB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2848, allocations: 4 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2848, allocations: 0 / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.2848, allocations: 3.938 kB / 437.9 MB, free: 15.36 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.001614/0.2864, allocations: 0.8839 MB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.2865, allocations: 8.031 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003274/0.2868, allocations: 88.5 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.2874, allocations: 375.9 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.2875, allocations: 37.38 kB / 439.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.2876, allocations: 52.33 kB / 439.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/0.2885, allocations: 487.5 kB / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.2885, allocations: 0 / 439.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.2885, allocations: 20 kB / 439.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.2885, allocations: 12 kB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.2892, allocations: 336.3 kB / 440.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.2923, allocations: 1.694 MB / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.2928, allocations: 252.5 kB / 442.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.293, allocations: 129.7 kB / 442.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.2931, allocations: 7.938 kB / 442.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.2931, allocations: 46.55 kB / 442.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.2931, allocations: 0 / 442.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002173/0.2953, allocations: 0.9585 MB / 443.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.2953, allocations: 85.09 kB / 443.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.2958, allocations: 385.6 kB / 443.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.2958, allocations: 37.7 kB / 443.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.2961, allocations: 292.2 kB / 444.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.2962, allocations: 119 kB / 444.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.2963, allocations: 78.12 kB / 444.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2964, allocations: 350.7 kB / 444.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.2967, allocations: 100.8 kB / 444.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.297, allocations: 198.6 kB / 444.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.2975, allocations: 307.8 kB / 445.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2975, allocations: 3.938 kB / 445.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009779/0.2985, allocations: 438.6 kB / 445.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.2985, allocations: 8 kB / 445.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2986, allocations: 4 kB / 445.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004158/0.299, allocations: 85.91 kB / 445.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.2993, allocations: 75.89 kB / 445.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.3023, allocations: 3.131 MB / 448.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.3027, allocations: 23.92 kB / 449 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3027, allocations: 16 kB / 449 MB, free: 3.621 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.0002593/0.303, allocations: 169.7 kB / 449.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.3031, allocations: 39.77 kB / 449.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.131e-05/0.3031, allocations: 47.41 kB / 449.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3031, allocations: 4 kB / 449.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3032, allocations: 12 kB / 449.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3032, allocations: 7.922 kB / 449.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.3047, allocations: 0.9312 MB / 450.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3047, allocations: 0 / 450.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3049, allocations: 47.97 kB / 450.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002965/0.3052, allocations: 85.53 kB / 450.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.3052, allocations: 8 kB / 450.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/0.308, allocations: 3.14 MB / 453.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.308, allocations: 0 / 453.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.309, allocations: 0.6098 MB / 454.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3092, allocations: 120.9 kB / 454.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.3092, allocations: 11.94 kB / 454.2 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.3096, allocations: 27.97 kB / 454.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/0.3097, allocations: 23.97 kB / 454.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3097, allocations: 16 kB / 454.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003296/0.3101, allocations: 271.2 kB / 454.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3101, allocations: 0 / 454.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006192/0.3107, allocations: 116 kB / 454.6 MB, free: 13.55 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.0001727/0.3108, allocations: 107.2 kB / 454.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.3118, allocations: 0.5004 MB / 455.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3118, allocations: 0 / 455.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.3125, allocations: 385.5 kB / 455.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.313, allocations: 53.73 kB / 455.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.3148, allocations: 0.981 MB / 456.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3152, allocations: 0.8353 MB / 457.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.3154, allocations: 51.22 kB / 457.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.3155, allocations: 31.44 kB / 457.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3155, allocations: 0 / 457.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01106/0.3265, allocations: 4.931 MB / 462.5 MB, free: 5.613 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/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_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: 5.158722225576639]