Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 51.91 kB / 358.7 MB, free: 8.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09611, allocations: 49.43 MB / 408.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005508/0.1017, allocations: 4.089 MB / 412.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1034, allocations: 0.8723 MB / 413.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.1037, allocations: 8 kB / 413.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1039, allocations: 91.06 kB / 413.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1043, allocations: 182.4 kB / 413.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1046, allocations: 135.8 kB / 413.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006898/0.1053, allocations: 0.6693 MB / 414.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.1057, allocations: 214.9 kB / 414.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.106, allocations: 255 kB / 414.6 MB, free: 260 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.1063, allocations: 290.8 kB / 414.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.1064, allocations: 52 kB / 415 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.1066, allocations: 59.94 kB / 415 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1067, allocations: 135.5 kB / 415.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.107, allocations: 302.5 kB / 415.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.1077, allocations: 0.6417 MB / 416.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1077, allocations: 0 / 416.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1077, allocations: 0 / 416.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1077, allocations: 0 / 416.1 MB, free: 14.79 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.001506/0.1092, allocations: 0.8761 MB / 417 MB, free: 13.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1093, allocations: 19.88 kB / 417 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1094, allocations: 68.52 kB / 417.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.11, allocations: 368 kB / 417.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.11, allocations: 41.38 kB / 417.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.1101, allocations: 48.38 kB / 417.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.1109, allocations: 491.5 kB / 418 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.111, allocations: 0 / 418 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.111, allocations: 24 kB / 418 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.111, allocations: 15.94 kB / 418 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.1117, allocations: 328.3 kB / 418.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.1145, allocations: 1.678 MB / 420 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.115, allocations: 269 kB / 420.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1153, allocations: 145.7 kB / 420.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1153, allocations: 0 / 420.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.1154, allocations: 42.56 kB / 420.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.1154, allocations: 0 / 420.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00203/0.1174, allocations: 0.9683 MB / 421.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.1175, allocations: 81.11 kB / 421.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.118, allocations: 381.6 kB / 421.9 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.118, allocations: 29.7 kB / 421.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.1182, allocations: 296.2 kB / 422.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.885e-05/0.1183, allocations: 119 kB / 422.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1185, allocations: 78.08 kB / 422.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1187, allocations: 354.7 kB / 422.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.1189, allocations: 100.8 kB / 422.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1192, allocations: 194.6 kB / 423 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.1197, allocations: 305.5 kB / 423.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1197, allocations: 0 / 423.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008989/0.1206, allocations: 448.5 kB / 423.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1207, allocations: 8 kB / 423.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1207, allocations: 4 kB / 423.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.121, allocations: 81.97 kB / 423.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.1214, allocations: 83.83 kB / 423.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.1242, allocations: 3.119 MB / 427.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.1245, allocations: 27.89 kB / 427.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.1246, allocations: 19.94 kB / 427.1 MB, free: 3.039 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.0002187/0.1248, allocations: 165.3 kB / 427.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.1249, allocations: 47.72 kB / 427.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.125, allocations: 47.45 kB / 427.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.125, allocations: 4 kB / 427.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.125, allocations: 3.938 kB / 427.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.125, allocations: 8 kB / 427.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.1265, allocations: 0.9287 MB / 428.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1265, allocations: 4 kB / 428.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1268, allocations: 47.91 kB / 428.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.1271, allocations: 81.78 kB / 428.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.1271, allocations: 12 kB / 428.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.18/0.3071, allocations: 3.123 MB / 431.6 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3071, allocations: 1.406 kB / 431.6 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.308, allocations: 0.6166 MB / 432.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.3081, allocations: 119.2 kB / 432.3 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.3082, allocations: 7.062 kB / 432.3 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.3085, allocations: 32.91 kB / 432.3 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.3086, allocations: 29.34 kB / 432.4 MB, free: 20.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.3086, allocations: 9.969 kB / 432.4 MB, free: 20.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.3089, allocations: 270.2 kB / 432.7 MB, free: 19.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.3089, allocations: 0 / 432.7 MB, free: 19.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005832/0.3095, allocations: 124.9 kB / 432.8 MB, free: 19.99 MB / 350.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.0001281/0.3096, allocations: 103.2 kB / 432.9 MB, free: 19.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008019/0.3104, allocations: 0.5142 MB / 433.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3104, allocations: 0 / 433.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.311, allocations: 387.5 kB / 433.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3115, allocations: 55.23 kB / 433.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.3131, allocations: 0.9933 MB / 434.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3135, allocations: 0.8388 MB / 435.7 MB, free: 18.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.3136, allocations: 30.62 kB / 435.7 MB, free: 18.26 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3136, allocations: 0 / 435.7 MB, free: 18.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01374/0.3274, allocations: 8.923 MB / 444.6 MB, free: 16.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.701617792947218]