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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00885/0.00885, allocations: 105.5 kB / 21.98 MB, free: 5.223 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.002441/0.002441, allocations: 215.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 259 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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=50000,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=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "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.00199/0.00199, allocations: 67.89 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2427, allocations: 53.37 MB / 433.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005375/0.2481, allocations: 4.142 MB / 437.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2503, allocations: 0.958 MB / 438.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.2506, allocations: 11.94 kB / 438.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.2508, allocations: 95.06 kB / 438.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.2512, allocations: 198.4 kB / 438.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.2516, allocations: 155.7 kB / 438.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.2523, allocations: 0.6732 MB / 439.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.2526, allocations: 151.7 kB / 439.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003587/0.2529, allocations: 275 kB / 439.8 MB, free: 260 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.2533, allocations: 290.6 kB / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.2534, allocations: 56 kB / 440.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2535, allocations: 56 kB / 440.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.2536, allocations: 135.5 kB / 440.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.2539, allocations: 302.5 kB / 440.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.2546, allocations: 0.6547 MB / 441.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2546, allocations: 0 / 441.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2547, allocations: 0 / 441.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2547, allocations: 4 kB / 441.3 MB, free: 14.77 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.001455/0.2561, allocations: 0.8047 MB / 442.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2562, allocations: 12.03 kB / 442.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.2565, allocations: 92.47 kB / 442.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.257, allocations: 310.1 kB / 442.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.2571, allocations: 37.38 kB / 442.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.2571, allocations: 56.33 kB / 442.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/0.258, allocations: 483.5 kB / 443.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.258, allocations: 0 / 443.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.258, allocations: 20 kB / 443.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.258, allocations: 12 kB / 443.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.2587, allocations: 332.5 kB / 443.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.2614, allocations: 1.642 MB / 445.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.2619, allocations: 245.1 kB / 445.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.2621, allocations: 140.5 kB / 445.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.2621, allocations: 8 kB / 445.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.2622, allocations: 30.56 kB / 445.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.2622, allocations: 0 / 445.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001875/0.264, allocations: 0.8188 MB / 446.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.2641, allocations: 81.11 kB / 446.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.2646, allocations: 397.6 kB / 446.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2646, allocations: 33.7 kB / 446.8 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.2648, allocations: 300.1 kB / 447.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.2649, allocations: 111.1 kB / 447.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.265, allocations: 78.08 kB / 447.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2652, allocations: 350.7 kB / 447.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2654, allocations: 100.8 kB / 447.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.2657, allocations: 194.6 kB / 447.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.2662, allocations: 308 kB / 448.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2662, allocations: 3.938 kB / 448.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008567/0.2671, allocations: 453.4 kB / 448.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2671, allocations: 4 kB / 448.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2671, allocations: 4 kB / 448.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.2674, allocations: 81.64 kB / 448.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.2677, allocations: 83.92 kB / 448.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.2705, allocations: 2.928 MB / 451.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.2708, allocations: 23.91 kB / 451.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2708, allocations: 16 kB / 451.8 MB, free: 3.684 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.0002218/0.271, allocations: 164.8 kB / 452 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.2711, allocations: 47.7 kB / 452 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.2712, allocations: 47.39 kB / 452.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2712, allocations: 4 kB / 452.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.2712, allocations: 7.938 kB / 452.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2712, allocations: 0 / 452.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.2726, allocations: 0.9075 MB / 453 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2726, allocations: 4 kB / 453 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.2728, allocations: 39.92 kB / 453 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.2731, allocations: 81.64 kB / 453.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2731, allocations: 11.98 kB / 453.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.2757, allocations: 2.937 MB / 456.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2757, allocations: 0 / 456.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.2766, allocations: 0.6022 MB / 456.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.2767, allocations: 39.73 kB / 456.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.2768, allocations: 15.88 kB / 456.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.2771, allocations: 31.97 kB / 456.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.2772, allocations: 27.95 kB / 456.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.2772, allocations: 8 kB / 456.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.2775, allocations: 275.2 kB / 457.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2775, allocations: 0 / 457.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005967/0.2781, allocations: 116 kB / 457.2 MB, free: 14.02 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.0001528/0.2783, allocations: 111.7 kB / 457.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009417/0.2792, allocations: 0.4901 MB / 457.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2792, allocations: 4.125 kB / 457.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.2798, allocations: 385.1 kB / 458.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.2803, allocations: 57.64 kB / 458.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.2821, allocations: 1.003 MB / 459.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.2826, allocations: 0.8353 MB / 460 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2827, allocations: 31.44 kB / 460.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2827, allocations: 0 / 460.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0124/0.2951, allocations: 9.027 MB / 469.1 MB, free: 1.969 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.621279651997611]