Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.205e-05, allocations: 2.312 kB / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005958/0.00599, allocations: 3.717 MB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.008172, allocations: 0.9267 MB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.008438, allocations: 8 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.008707, allocations: 95.02 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.009142, allocations: 202.2 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.009636, allocations: 155.8 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.01049, allocations: 0.704 MB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.0108, allocations: 139.7 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.01141, allocations: 391.1 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.01174, allocations: 215.3 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.01184, allocations: 59.94 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.01198, allocations: 63.92 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.01212, allocations: 135.4 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.01239, allocations: 207.5 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008462/0.01324, allocations: 0.6657 MB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01324, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01324, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.01325, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 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.001668/0.01492, allocations: 0.7969 MB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01496, allocations: 8.031 kB / 280.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.01539, allocations: 128.5 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.01604, allocations: 325.3 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.01609, allocations: 37.38 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.01619, allocations: 56.31 kB / 281.3 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.01723, allocations: 0.6192 MB / 282 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.01725, allocations: 8.188 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.0173, allocations: 16.38 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.01731, allocations: 15.94 kB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.018, allocations: 332.4 kB / 282.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.0209, allocations: 1.464 MB / 283.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.02144, allocations: 245.1 kB / 284 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.02171, allocations: 133.9 kB / 284.2 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.02173, allocations: 8 kB / 284.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.02178, allocations: 34.56 kB / 284.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 4.018e-06/0.02178, allocations: 11.98 kB / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002079/0.02386, allocations: 0.8085 MB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.02394, allocations: 92.95 kB / 285.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.02444, allocations: 377.5 kB / 285.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.02447, allocations: 33.7 kB / 285.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.02472, allocations: 288.1 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.02483, allocations: 126.9 kB / 285.9 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.02496, allocations: 74.16 kB / 286 MB, free: 3.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.02517, allocations: 346.8 kB / 286.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.02541, allocations: 101 kB / 286.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.02572, allocations: 195.2 kB / 286.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.02628, allocations: 320.3 kB / 286.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.02628, allocations: 4 kB / 286.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009628/0.02724, allocations: 454.6 kB / 287.4 MB, free: 2.324 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.02726, allocations: 8 kB / 287.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.02727, allocations: 12.25 kB / 287.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/0.02794, allocations: 109.6 kB / 287.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.02829, allocations: 83.83 kB / 287.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.03135, allocations: 2.871 MB / 290.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.03165, allocations: 19.94 kB / 290.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.03168, allocations: 16 kB / 290.5 MB, free: 15 MB / 282.7 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.0002516/0.03193, allocations: 165.7 kB / 290.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.03206, allocations: 51.77 kB / 290.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.03214, allocations: 51.34 kB / 290.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.03215, allocations: 4 kB / 290.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.03216, allocations: 0 / 290.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.03216, allocations: 0 / 290.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.03363, allocations: 0.8024 MB / 291.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.03363, allocations: 0 / 291.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.03383, allocations: 47.97 kB / 291.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006082/0.03444, allocations: 113.6 kB / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.03446, allocations: 7.938 kB / 291.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.03739, allocations: 2.879 MB / 294.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.03739, allocations: 0 / 294.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.0385, allocations: 0.6133 MB / 295.2 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.0386, allocations: 43.72 kB / 295.3 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.03864, allocations: 8 kB / 295.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.039, allocations: 32.05 kB / 295.3 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.03909, allocations: 23.95 kB / 295.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.03912, allocations: 11.98 kB / 295.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000334/0.03945, allocations: 263.2 kB / 295.6 MB, free: 9.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03945, allocations: 0 / 295.6 MB, free: 9.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006354/0.04009, allocations: 116 kB / 295.7 MB, free: 9.504 MB / 282.7 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.0001633/0.04025, allocations: 107.2 kB / 295.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.04125, allocations: 0.4994 MB / 296.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.04126, allocations: 0 / 296.3 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006616/0.04192, allocations: 381.1 kB / 296.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.04241, allocations: 60.78 kB / 296.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.04419, allocations: 0.8917 MB / 297.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.04448, allocations: 242.1 kB / 297.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.04465, allocations: 43.25 kB / 297.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.04474, allocations: 28.5 kB / 297.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04474, allocations: 0 / 297.9 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Templates: time 0.01099/0.05572, allocations: 4.502 MB / 302.4 MB, free: 2.719 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.926341956946999]