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.001851/0.001851, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002289/0.002289, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.992 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+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 0.001689/0.001689, allocations: 47.91 kB / 378.3 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2697, allocations: 53.36 MB / 431.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005572/0.2752, allocations: 4.149 MB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.2772, allocations: 0.9697 MB / 436.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.2775, allocations: 11.94 kB / 436.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.2777, allocations: 91.08 kB / 436.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.2781, allocations: 190.4 kB / 437.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.2785, allocations: 159.7 kB / 437.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007216/0.2792, allocations: 0.6693 MB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.2795, allocations: 155.3 kB / 438 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.2799, allocations: 278.9 kB / 438.3 MB, free: 232 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.2803, allocations: 290.8 kB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.773e-05/0.2803, allocations: 56 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2804, allocations: 56 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.2806, allocations: 135.4 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.2808, allocations: 306.4 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.2816, allocations: 0.6443 MB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2816, allocations: 0 / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2816, allocations: 0 / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2816, allocations: 0 / 439.8 MB, free: 14.75 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.001494/0.2831, allocations: 0.8086 MB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2831, allocations: 8.031 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002957/0.2834, allocations: 88.48 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.284, allocations: 314.1 kB / 441 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.284, allocations: 37.38 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.2841, allocations: 52.33 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.2849, allocations: 487.5 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2849, allocations: 0 / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.2849, allocations: 20 kB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.285, allocations: 15.98 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.2856, allocations: 332.4 kB / 441.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.2884, allocations: 1.642 MB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.2889, allocations: 245.1 kB / 443.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.2891, allocations: 133.2 kB / 443.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2892, allocations: 11.98 kB / 443.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2892, allocations: 42.55 kB / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.2892, allocations: 0 / 444 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002033/0.2912, allocations: 0.8082 MB / 444.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.2913, allocations: 81.11 kB / 444.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.2918, allocations: 393.5 kB / 445.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.2918, allocations: 37.7 kB / 445.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.2921, allocations: 300 kB / 445.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2922, allocations: 119 kB / 445.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2923, allocations: 74.12 kB / 445.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2925, allocations: 350.7 kB / 446.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.2927, allocations: 100.8 kB / 446.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.293, allocations: 198.6 kB / 446.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.2935, allocations: 304.3 kB / 446.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2935, allocations: 4 kB / 446.7 MB, free: 7.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008342/0.2943, allocations: 442.7 kB / 447.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2943, allocations: 11.94 kB / 447.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2943, allocations: 4 kB / 447.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.2947, allocations: 77.66 kB / 447.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.295, allocations: 83.83 kB / 447.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/0.2981, allocations: 2.92 MB / 450.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2984, allocations: 27.88 kB / 450.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2984, allocations: 16 kB / 450.3 MB, free: 3.668 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.00023/0.2986, allocations: 161.7 kB / 450.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.2987, allocations: 47.83 kB / 450.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.2988, allocations: 47.39 kB / 450.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2988, allocations: 4.188 kB / 450.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.2988, allocations: 7.938 kB / 450.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2989, allocations: 4 kB / 450.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3003, allocations: 0.9072 MB / 451.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3003, allocations: 3.984 kB / 451.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3005, allocations: 47.91 kB / 451.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.3008, allocations: 81.64 kB / 451.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3008, allocations: 8 kB / 451.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.3036, allocations: 2.928 MB / 454.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3036, allocations: 0 / 454.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.3046, allocations: 0.603 MB / 455.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.3047, allocations: 39.73 kB / 455.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.3047, allocations: 15.94 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.3051, allocations: 31.97 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.3052, allocations: 23.95 kB / 455.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3052, allocations: 8 kB / 455.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.3055, allocations: 275.2 kB / 455.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3055, allocations: 0 / 455.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006528/0.3062, allocations: 123.9 kB / 455.6 MB, free: 14 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.0001725/0.3064, allocations: 107.9 kB / 455.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3074, allocations: 499.5 kB / 456.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.3074, allocations: 8.562 kB / 456.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.308, allocations: 381.2 kB / 456.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.3086, allocations: 65.39 kB / 456.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.3103, allocations: 0.9702 MB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.3108, allocations: 0.8431 MB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.311, allocations: 43.28 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3111, allocations: 35.38 kB / 458.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3111, allocations: 0 / 458.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01095/0.322, allocations: 5.006 MB / 463.6 MB, free: 5.984 MB / 366.1 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: 5.221493465825915]