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.001479/0.001479, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001505/0.001505, allocations: 213 kB / 24.47 MB, free: 3.547 MB / 14.72 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.509/1.509, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.91 kB / 347.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3162, allocations: 49.16 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004297/0.3205, allocations: 3.623 MB / 400.5 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3219, allocations: 0.8895 MB / 401.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.3221, allocations: 8.469 kB / 401.4 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3223, allocations: 92.95 kB / 401.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.3226, allocations: 189.5 kB / 401.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3229, allocations: 145.5 kB / 401.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.3235, allocations: 0.6749 MB / 402.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.3237, allocations: 141 kB / 402.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.324, allocations: 267.4 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3243, allocations: 256.6 kB / 403.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.3244, allocations: 55.22 kB / 403.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3245, allocations: 56.19 kB / 403.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.132e-05/0.3246, allocations: 123.9 kB / 403.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.3248, allocations: 255.6 kB / 403.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.3255, allocations: 0.6501 MB / 404.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3255, allocations: 1.188 kB / 404.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3255, allocations: 0 / 404.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3255, allocations: 0 / 404.3 MB, free: 4.898 MB / 318.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.001347/0.3268, allocations: 0.806 MB / 405.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3269, allocations: 13.22 kB / 405.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.327, allocations: 65.78 kB / 405.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3275, allocations: 312.8 kB / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.3275, allocations: 37.53 kB / 405.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.3276, allocations: 51.66 kB / 405.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.3284, allocations: 0.6212 MB / 406.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3284, allocations: 0 / 406.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.3285, allocations: 21.53 kB / 406.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3285, allocations: 13.14 kB / 406.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005906/0.3291, allocations: 333 kB / 406.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.3314, allocations: 1.445 MB / 408 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.3318, allocations: 249.4 kB / 408.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.332, allocations: 134.8 kB / 408.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3321, allocations: 2.625 kB / 408.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3321, allocations: 42.89 kB / 408.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/0.3321, allocations: 7.922 kB / 408.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001702/0.3338, allocations: 0.8121 MB / 409.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.3338, allocations: 82.75 kB / 409.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.3342, allocations: 375.3 kB / 409.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.3342, allocations: 35.95 kB / 409.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3344, allocations: 294.9 kB / 410 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.3344, allocations: 116.4 kB / 410.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.3345, allocations: 76 kB / 410.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.3346, allocations: 351 kB / 410.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3348, allocations: 104.4 kB / 410.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.3351, allocations: 195 kB / 410.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3355, allocations: 308.5 kB / 411.1 MB, free: 392 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3355, allocations: 1.312 kB / 411.1 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007992/0.3363, allocations: 450.9 kB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3363, allocations: 5.75 kB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3363, allocations: 2.375 kB / 411.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.3367, allocations: 83.23 kB / 411.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.337, allocations: 84.98 kB / 411.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.3398, allocations: 2.863 MB / 414.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.3401, allocations: 24.73 kB / 414.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3401, allocations: 14.12 kB / 414.6 MB, free: 13.28 MB / 334.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.000197/0.3403, allocations: 163.1 kB / 414.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.3404, allocations: 43.77 kB / 414.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.725e-05/0.3405, allocations: 40.36 kB / 414.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3405, allocations: 4.344 kB / 414.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3405, allocations: 1 kB / 414.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3405, allocations: 9.141 kB / 414.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.3418, allocations: 0.7952 MB / 415.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3418, allocations: 0 / 415.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.342, allocations: 42.84 kB / 415.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002727/0.3423, allocations: 92.48 kB / 415.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3423, allocations: 6.219 kB / 415.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/0.3449, allocations: 2.867 MB / 418.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3449, allocations: 0.9688 kB / 418.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.3459, allocations: 0.6066 MB / 419.3 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.346, allocations: 43.23 kB / 419.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.346, allocations: 5.375 kB / 419.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.3464, allocations: 34.09 kB / 419.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.3464, allocations: 28.7 kB / 419.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3464, allocations: 11.16 kB / 419.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.3468, allocations: 259.1 kB / 419.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3468, allocations: 4 kB / 419.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.3474, allocations: 119.6 kB / 419.8 MB, free: 8.902 MB / 334.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.000148/0.3475, allocations: 113.9 kB / 419.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3486, allocations: 0.5039 MB / 420.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3486, allocations: 0.9688 kB / 420.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.3492, allocations: 373.3 kB / 420.8 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.3497, allocations: 52.94 kB / 420.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3516, allocations: 0.9605 MB / 421.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3519, allocations: 236.1 kB / 422 MB, free: 7.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.352, allocations: 44.25 kB / 422.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.3521, allocations: 26.97 kB / 422.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3521, allocations: 1.062 kB / 422.1 MB, free: 7.258 MB / 334.1 MB Notification: Performance of Templates: time 0.0119/0.364, allocations: 5.039 MB / 427.1 MB, free: 3.902 MB / 334.1 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.407053457573056]