Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001476/0.001476, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001608/0.001608, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 158.6 MB / 186.8 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 250.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.844e-05, allocations: 2.312 kB / 250.4 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.01032/0.01036, allocations: 3.645 MB / 254 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.01378, allocations: 0.8887 MB / 254.9 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/0.01437, allocations: 12 kB / 254.9 MB, free: 3.219 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.01492, allocations: 95.06 kB / 255 MB, free: 3.125 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.01606, allocations: 190.3 kB / 255.2 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.01687, allocations: 151.7 kB / 255.4 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.0186, allocations: 0.6962 MB / 256.1 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.01913, allocations: 139.7 kB / 256.2 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.02023, allocations: 383.1 kB / 256.6 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.02097, allocations: 215.3 kB / 256.8 MB, free: 1.359 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.02117, allocations: 56 kB / 256.8 MB, free: 1.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.02142, allocations: 56 kB / 256.9 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.02167, allocations: 135.4 kB / 257 MB, free: 1.117 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.02233, allocations: 211.4 kB / 257.2 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.02385, allocations: 0.6618 MB / 257.9 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.02386, allocations: 0 / 257.9 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02386, allocations: 0 / 257.9 MB, free: 252 kB / 234.7 MB Notification: Performance of Transformations before backend: time 2.84e-05/0.02389, allocations: 0 / 257.9 MB, free: 252 kB / 234.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.003098/0.02699, allocations: 0.7912 MB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.469e-05/0.02707, allocations: 15.98 kB / 258.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.02746, allocations: 108.5 kB / 258.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.02863, allocations: 309.4 kB / 259.1 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.02871, allocations: 37.38 kB / 259.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.02887, allocations: 48.38 kB / 259.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.03118, allocations: 0.627 MB / 259.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.0312, allocations: 192 / 259.8 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.03129, allocations: 26.19 kB / 259.8 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.03133, allocations: 15.98 kB / 259.9 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.03273, allocations: 324.5 kB / 260.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.03811, allocations: 1.468 MB / 261.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.03903, allocations: 249.1 kB / 261.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.03953, allocations: 137.6 kB / 262 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.03958, allocations: 8 kB / 262 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/0.03965, allocations: 38.56 kB / 262.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.875e-06/0.03965, allocations: 0 / 262.1 MB, free: 11.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.003818/0.04347, allocations: 0.8249 MB / 262.9 MB, free: 10.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.04357, allocations: 81.11 kB / 263 MB, free: 10.89 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/0.04452, allocations: 377.5 kB / 263.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.04458, allocations: 29.7 kB / 263.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.045, allocations: 296.1 kB / 263.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.04521, allocations: 115 kB / 263.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.04545, allocations: 78.14 kB / 263.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003468/0.0458, allocations: 346.8 kB / 264.2 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.0462, allocations: 101 kB / 264.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.04679, allocations: 195.2 kB / 264.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.04782, allocations: 310 kB / 264.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.04784, allocations: 8 kB / 264.8 MB, free: 8.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001514/0.04935, allocations: 462.8 kB / 265.2 MB, free: 8.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.04938, allocations: 8 kB / 265.2 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.04939, allocations: 4 kB / 265.2 MB, free: 8.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000921/0.05031, allocations: 109.6 kB / 265.4 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.05087, allocations: 79.84 kB / 265.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.05567, allocations: 2.871 MB / 268.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.05612, allocations: 19.94 kB / 268.3 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.05617, allocations: 19.98 kB / 268.3 MB, free: 5.188 MB / 250.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.0003375/0.05651, allocations: 161.9 kB / 268.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.0567, allocations: 51.77 kB / 268.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.05681, allocations: 39.27 kB / 268.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.05682, allocations: 4 kB / 268.6 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.05683, allocations: 7.875 kB / 268.6 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.05684, allocations: 7.984 kB / 268.6 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.05892, allocations: 0.7957 MB / 269.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.05893, allocations: 4 kB / 269.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.05919, allocations: 43.97 kB / 269.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007777/0.05997, allocations: 113.5 kB / 269.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.06, allocations: 7.984 kB / 269.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003577/0.06358, allocations: 2.882 MB / 272.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.06358, allocations: 0 / 272.5 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.06475, allocations: 0.6101 MB / 273.1 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.06488, allocations: 39.8 kB / 273.1 MB, free: 144 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.06493, allocations: 8 kB / 273.1 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.06531, allocations: 31.97 kB / 273.1 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.0654, allocations: 27.89 kB / 273.2 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.06543, allocations: 12 kB / 273.2 MB, free: 64 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.06581, allocations: 255.2 kB / 273.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06581, allocations: 4 kB / 273.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000685/0.0665, allocations: 116 kB / 273.5 MB, free: 15.69 MB / 266.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.0001787/0.06668, allocations: 107.2 kB / 273.6 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.06805, allocations: 0.5063 MB / 274.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.06806, allocations: 0 / 274.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.06876, allocations: 380.9 kB / 274.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.06926, allocations: 49.98 kB / 274.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.07123, allocations: 0.9138 MB / 275.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.07152, allocations: 230.2 kB / 275.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.0717, allocations: 43.25 kB / 275.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.07179, allocations: 36.5 kB / 275.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.07179, allocations: 3.938 kB / 275.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of Templates: time 0.01123/0.08302, allocations: 4.466 MB / 280.3 MB, free: 8.922 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.49119029508438]