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.001382/0.001382, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002048/0.002048, allocations: 210.6 kB / 23.73 MB, free: 4.523 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001665/0.001665, allocations: 51.92 kB / 378.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2976, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005732/0.3033, allocations: 3.719 MB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3056, allocations: 0.923 MB / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.3061, allocations: 11.94 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.3065, allocations: 91.08 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.3071, allocations: 194.4 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3076, allocations: 159.7 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009783/0.3086, allocations: 0.6693 MB / 437.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003617/0.309, allocations: 151.4 kB / 437.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.3095, allocations: 274.9 kB / 437.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.3099, allocations: 294.7 kB / 438.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.31, allocations: 56 kB / 438.1 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3102, allocations: 60 kB / 438.2 MB, free: 108 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3103, allocations: 127.5 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3106, allocations: 258.8 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.3114, allocations: 0.656 MB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3114, allocations: 0 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3114, allocations: 0 / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3114, allocations: 4 kB / 439.2 MB, free: 15.07 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.001641/0.313, allocations: 0.8047 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3131, allocations: 8.031 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.3134, allocations: 92.48 kB / 440.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.314, allocations: 310.1 kB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.314, allocations: 37.38 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.3141, allocations: 52.33 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3151, allocations: 0.6268 MB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.3151, allocations: 0 / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.3152, allocations: 24 kB / 441.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.3152, allocations: 12 kB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.3159, allocations: 328.4 kB / 441.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.3186, allocations: 1.459 MB / 443 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.3191, allocations: 253 kB / 443.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.3194, allocations: 129.7 kB / 443.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3194, allocations: 4 kB / 443.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3194, allocations: 38.56 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.3194, allocations: 4 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00207/0.3215, allocations: 0.8087 MB / 444.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3216, allocations: 85.11 kB / 444.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.3221, allocations: 377.5 kB / 444.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.3221, allocations: 37.64 kB / 444.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.3224, allocations: 296.1 kB / 445 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.3225, allocations: 119 kB / 445.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3226, allocations: 78.08 kB / 445.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.3228, allocations: 350.7 kB / 445.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.323, allocations: 100.8 kB / 445.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.3233, allocations: 190.6 kB / 445.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.3239, allocations: 307.8 kB / 446.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3239, allocations: 0 / 446.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009227/0.3248, allocations: 455.2 kB / 446.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3248, allocations: 4 kB / 446.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3248, allocations: 4.312 kB / 446.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.3252, allocations: 81.66 kB / 446.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.3255, allocations: 75.89 kB / 446.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/0.3283, allocations: 2.874 MB / 449.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.3286, allocations: 19.92 kB / 449.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.3286, allocations: 16 kB / 449.6 MB, free: 4.094 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.0002177/0.3288, allocations: 169.9 kB / 449.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3289, allocations: 43.72 kB / 449.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.329, allocations: 47.3 kB / 449.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.329, allocations: 7.938 kB / 449.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.329, allocations: 0 / 449.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.329, allocations: 7.922 kB / 449.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.3304, allocations: 0.806 MB / 450.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3304, allocations: 0 / 450.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3306, allocations: 47.91 kB / 450.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.3309, allocations: 85.59 kB / 450.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3309, allocations: 4 kB / 450.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/0.3335, allocations: 2.878 MB / 453.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3335, allocations: 0 / 453.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3346, allocations: 0.599 MB / 454.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3347, allocations: 39.8 kB / 454.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3347, allocations: 4 kB / 454.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.3351, allocations: 36.03 kB / 454.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/0.3352, allocations: 23.95 kB / 454.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.3352, allocations: 12 kB / 454.4 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003558/0.3355, allocations: 263.2 kB / 454.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3355, allocations: 3.938 kB / 454.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.3362, allocations: 116 kB / 454.8 MB, free: 14.63 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.0001758/0.3364, allocations: 115.2 kB / 454.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3374, allocations: 0.4897 MB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3374, allocations: 4 kB / 455.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006131/0.338, allocations: 384.8 kB / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3385, allocations: 53.55 kB / 455.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3403, allocations: 0.9614 MB / 456.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3406, allocations: 234.2 kB / 457 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.3408, allocations: 43.27 kB / 457 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.3409, allocations: 27.44 kB / 457.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3409, allocations: 0 / 457.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.011/0.3519, allocations: 5.175 MB / 462.2 MB, free: 7.102 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.23346701124683]