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.001643/0.001643, allocations: 113 kB / 19.04 MB, free: 3.254 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.001758/0.001758, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.452/1.452, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.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.001622/0.001622, allocations: 52.06 kB / 368.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2649, allocations: 52.13 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005753/0.2706, allocations: 4.125 MB / 425 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2725, allocations: 0.8763 MB / 425.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.2728, allocations: 11.94 kB / 425.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.2731, allocations: 91.06 kB / 426 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.2736, allocations: 186.4 kB / 426.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.274, allocations: 139.8 kB / 426.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008312/0.2748, allocations: 0.681 MB / 427 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.2751, allocations: 143.1 kB / 427.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.2755, allocations: 259 kB / 427.4 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.2759, allocations: 290.7 kB / 427.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.276, allocations: 52 kB / 427.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2761, allocations: 56 kB / 427.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2763, allocations: 131.5 kB / 427.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.2766, allocations: 302.5 kB / 428.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.2774, allocations: 0.6469 MB / 428.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2774, allocations: 0 / 428.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2774, allocations: 0 / 428.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.2774, allocations: 4 kB / 428.9 MB, free: 7.066 MB / 334.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.001635/0.279, allocations: 0.88 MB / 429.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2791, allocations: 11.89 kB / 429.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2792, allocations: 76.52 kB / 429.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.2798, allocations: 363.9 kB / 430.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.2798, allocations: 37.38 kB / 430.2 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.688e-05/0.2799, allocations: 48.38 kB / 430.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.2808, allocations: 483.5 kB / 430.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.2808, allocations: 4 kB / 430.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.2808, allocations: 20 kB / 430.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2809, allocations: 12 kB / 430.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.2815, allocations: 328.3 kB / 431.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.2844, allocations: 1.686 MB / 432.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.2849, allocations: 249.1 kB / 433 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.2852, allocations: 141.5 kB / 433.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2852, allocations: 4 kB / 433.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2853, allocations: 38.56 kB / 433.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2853, allocations: 4 kB / 433.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002023/0.2873, allocations: 0.9591 MB / 434.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.2873, allocations: 81.11 kB / 434.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.2878, allocations: 381.6 kB / 434.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.2878, allocations: 29.7 kB / 434.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.2881, allocations: 308 kB / 434.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2882, allocations: 115 kB / 435.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.2883, allocations: 82.08 kB / 435.1 MB, free: 444 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2885, allocations: 350.7 kB / 435.5 MB, free: 84 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.2888, allocations: 100.9 kB / 435.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.2891, allocations: 194.6 kB / 435.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.2896, allocations: 312.2 kB / 436.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2896, allocations: 0 / 436.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008595/0.2905, allocations: 438.6 kB / 436.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2905, allocations: 8 kB / 436.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2905, allocations: 3.938 kB / 436.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.2909, allocations: 81.97 kB / 436.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.2912, allocations: 79.89 kB / 436.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.2942, allocations: 3.131 MB / 439.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.2945, allocations: 19.89 kB / 439.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.2946, allocations: 19.98 kB / 439.8 MB, free: 11.36 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.0002538/0.2948, allocations: 165.7 kB / 440 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2949, allocations: 43.72 kB / 440 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.295, allocations: 51.45 kB / 440.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.295, allocations: 8.062 kB / 440.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.295, allocations: 3.938 kB / 440.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.295, allocations: 3.984 kB / 440.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.2966, allocations: 0.9277 MB / 441 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2966, allocations: 0 / 441 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2968, allocations: 55.84 kB / 441.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.2971, allocations: 81.59 kB / 441.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.2971, allocations: 4 kB / 441.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.2999, allocations: 3.135 MB / 444.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2999, allocations: 0 / 444.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.301, allocations: 0.6134 MB / 444.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.3011, allocations: 124.9 kB / 445 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.3012, allocations: 11.94 kB / 445.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.3015, allocations: 31.95 kB / 445.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.3016, allocations: 27.97 kB / 445.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3017, allocations: 12 kB / 445.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000342/0.302, allocations: 271.2 kB / 445.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.302, allocations: 0 / 445.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.3026, allocations: 116 kB / 445.5 MB, free: 5.289 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.0001577/0.3028, allocations: 111.2 kB / 445.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.3038, allocations: 0.4952 MB / 446.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3038, allocations: 0 / 446.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.3045, allocations: 381.8 kB / 446.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.305, allocations: 57.67 kB / 446.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.3069, allocations: 0.9693 MB / 447.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/0.3074, allocations: 0.8392 MB / 448.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.3076, allocations: 47.28 kB / 448.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.3077, allocations: 27.44 kB / 448.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3077, allocations: 0 / 448.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Templates: time 0.01091/0.3186, allocations: 4.916 MB / 453.3 MB, free: 13.38 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.150697954930365]