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.00752/0.00752, allocations: 104.3 kB / 21.93 MB, free: 5.207 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.002004/0.002004, allocations: 210.7 kB / 25.22 MB, free: 3.137 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.45/1.45, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.002041/0.002041, allocations: 62.58 kB / 348.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2759, allocations: 49.15 MB / 397.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004705/0.2806, allocations: 3.627 MB / 401.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.2827, allocations: 0.8966 MB / 402.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.283, allocations: 9.094 kB / 402.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.2833, allocations: 88.31 kB / 402.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.2837, allocations: 193.2 kB / 402.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.2842, allocations: 143 kB / 402.6 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.2849, allocations: 0.6741 MB / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.2852, allocations: 141.6 kB / 403.4 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003725/0.2856, allocations: 269.9 kB / 403.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.2859, allocations: 254.8 kB / 403.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.136e-05/0.286, allocations: 54.22 kB / 404 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.2861, allocations: 55.94 kB / 404 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2862, allocations: 135.1 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.2865, allocations: 248.9 kB / 404.4 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007538/0.2872, allocations: 0.6483 MB / 405 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2872, allocations: 1.125 kB / 405 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2872, allocations: 0 / 405 MB, free: 4.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.2873, allocations: 0 / 405 MB, free: 4.875 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.001427/0.2887, allocations: 0.7979 MB / 405.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2887, allocations: 18.05 kB / 405.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2889, allocations: 69.22 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.2894, allocations: 317.5 kB / 406.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.2894, allocations: 36.56 kB / 406.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.2895, allocations: 49.69 kB / 406.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.2904, allocations: 0.6241 MB / 406.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2904, allocations: 0 / 406.9 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2904, allocations: 21.31 kB / 407 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2904, allocations: 16.12 kB / 407 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.291, allocations: 333.5 kB / 407.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/0.2934, allocations: 1.442 MB / 408.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.2938, allocations: 252.4 kB / 409 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.294, allocations: 132.5 kB / 409.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2941, allocations: 2.812 kB / 409.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2941, allocations: 42.72 kB / 409.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/0.2941, allocations: 0 / 409.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001781/0.2959, allocations: 0.8076 MB / 410 MB, free: 1.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2959, allocations: 81.97 kB / 410 MB, free: 1.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.2963, allocations: 379.7 kB / 410.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2963, allocations: 30.92 kB / 410.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2965, allocations: 296.6 kB / 410.7 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.2966, allocations: 120.4 kB / 410.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2967, allocations: 75.52 kB / 410.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.443e-05/0.2968, allocations: 351.8 kB / 411.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.297, allocations: 98.98 kB / 411.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.2972, allocations: 196.4 kB / 411.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.2977, allocations: 312.6 kB / 411.9 MB, free: 372 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2977, allocations: 0 / 411.9 MB, free: 372 kB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008694/0.2985, allocations: 446 kB / 412.3 MB, free: 164 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2986, allocations: 6.969 kB / 412.3 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2986, allocations: 3 kB / 412.3 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.2989, allocations: 84.08 kB / 412.4 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.2993, allocations: 80.12 kB / 412.5 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/0.3019, allocations: 2.867 MB / 415.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.3023, allocations: 20.19 kB / 415.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.3023, allocations: 15.91 kB / 415.4 MB, free: 13.27 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.0002761/0.3026, allocations: 169.9 kB / 415.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3027, allocations: 40.11 kB / 415.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.3028, allocations: 44.52 kB / 415.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3028, allocations: 3.938 kB / 415.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3028, allocations: 1.188 kB / 415.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3028, allocations: 1.062 kB / 415.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3042, allocations: 0.8011 MB / 416.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3042, allocations: 1.469 kB / 416.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3044, allocations: 46.91 kB / 416.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002782/0.3047, allocations: 86.53 kB / 416.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.3047, allocations: 9.781 kB / 416.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.3073, allocations: 2.867 MB / 419.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3073, allocations: 192 / 419.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3083, allocations: 0.6146 MB / 420.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3084, allocations: 38.67 kB / 420.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.3085, allocations: 10.16 kB / 420.1 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3088, allocations: 34.33 kB / 420.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.3089, allocations: 28.75 kB / 420.2 MB, free: 9.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3089, allocations: 10.47 kB / 420.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3092, allocations: 259.6 kB / 420.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3092, allocations: 0 / 420.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006747/0.3099, allocations: 115.1 kB / 420.5 MB, free: 8.887 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.0001602/0.3101, allocations: 113.1 kB / 420.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000987/0.311, allocations: 0.4971 MB / 421.1 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.311, allocations: 5.031 kB / 421.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.3117, allocations: 381.9 kB / 421.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3122, allocations: 51.55 kB / 421.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.3141, allocations: 0.9982 MB / 422.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3144, allocations: 232.9 kB / 422.8 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3145, allocations: 29.75 kB / 422.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3145, allocations: 0 / 422.8 MB, free: 7.23 MB / 334.1 MB Notification: Performance of Templates: time 0.0138/0.3283, allocations: 9.001 MB / 431.8 MB, free: 15.93 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/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: 8.721085763070732]