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.001328/0.001328, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001553/0.001553, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.474/1.474, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001995/0.001995, allocations: 71.83 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006331/0.3267, allocations: 4.148 MB / 436.2 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.3291, allocations: 0.9541 MB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.3294, allocations: 8 kB / 437.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.3297, allocations: 95.06 kB / 437.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.3301, allocations: 194.4 kB / 437.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.3305, allocations: 159.7 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.3312, allocations: 0.6693 MB / 438.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.3315, allocations: 155 kB / 438.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.3319, allocations: 267 kB / 438.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.3323, allocations: 290.7 kB / 439 MB, free: 444 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.3324, allocations: 56 kB / 439.1 MB, free: 388 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3326, allocations: 60 kB / 439.1 MB, free: 328 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3327, allocations: 135.3 kB / 439.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.333, allocations: 306.5 kB / 439.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.3337, allocations: 0.6476 MB / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3337, allocations: 0 / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3337, allocations: 0 / 440.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3338, allocations: 8 kB / 440.2 MB, free: 15.23 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.001624/0.3354, allocations: 0.88 MB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3354, allocations: 12.03 kB / 441.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/0.3357, allocations: 84.5 kB / 441.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.3363, allocations: 372 kB / 441.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.3364, allocations: 33.38 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.3365, allocations: 60.31 kB / 441.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.3373, allocations: 491.4 kB / 442.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.3374, allocations: 0 / 442.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-05/0.3374, allocations: 20 kB / 442.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.3374, allocations: 12 kB / 442.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.3381, allocations: 328.3 kB / 442.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.3411, allocations: 1.694 MB / 444.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.3416, allocations: 253 kB / 444.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.3418, allocations: 129.7 kB / 444.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3419, allocations: 4 kB / 444.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.3419, allocations: 38.56 kB / 444.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.3419, allocations: 0 / 444.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002115/0.344, allocations: 0.9708 MB / 445.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.3441, allocations: 81.11 kB / 445.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.3446, allocations: 389.6 kB / 446 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.3446, allocations: 41.7 kB / 446 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.3448, allocations: 284.2 kB / 446.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3449, allocations: 123 kB / 446.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3451, allocations: 74.08 kB / 446.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3453, allocations: 354.7 kB / 446.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3455, allocations: 96.83 kB / 446.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.3458, allocations: 206.5 kB / 447.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.3464, allocations: 301.2 kB / 447.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3464, allocations: 4 kB / 447.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009082/0.3473, allocations: 452.8 kB / 447.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3473, allocations: 10.97 kB / 447.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.3473, allocations: 4 kB / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.3477, allocations: 77.66 kB / 448 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.3481, allocations: 95.73 kB / 448.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.3511, allocations: 3.116 MB / 451.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.3514, allocations: 23.92 kB / 451.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3514, allocations: 16 kB / 451.2 MB, free: 3.473 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.0002779/0.3517, allocations: 165.8 kB / 451.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3518, allocations: 43.77 kB / 451.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.3519, allocations: 43.47 kB / 451.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3519, allocations: 4 kB / 451.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.3519, allocations: 7.938 kB / 451.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3519, allocations: 0 / 451.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3536, allocations: 0.9364 MB / 452.4 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3536, allocations: 4 kB / 452.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.3538, allocations: 43.91 kB / 452.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.3541, allocations: 85.62 kB / 452.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3541, allocations: 8 kB / 452.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.3571, allocations: 3.132 MB / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3571, allocations: 0 / 455.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3582, allocations: 0.6114 MB / 456.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3583, allocations: 120.9 kB / 456.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.3584, allocations: 7.938 kB / 456.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.3587, allocations: 35.97 kB / 456.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3588, allocations: 23.97 kB / 456.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3589, allocations: 8 kB / 456.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004146/0.3593, allocations: 275.2 kB / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3593, allocations: 0 / 456.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006501/0.3599, allocations: 116 kB / 456.9 MB, free: 13.42 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.0001759/0.3601, allocations: 115.2 kB / 457 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3611, allocations: 497.6 kB / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3611, allocations: 0 / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.3618, allocations: 385.2 kB / 457.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.3623, allocations: 63.64 kB / 457.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.3643, allocations: 0.9848 MB / 458.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.3649, allocations: 0.8392 MB / 459.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.365, allocations: 43.28 kB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3651, allocations: 35.38 kB / 459.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3651, allocations: 0 / 459.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.3764, allocations: 4.933 MB / 464.8 MB, free: 5.469 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.255844757892191]