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.001711/0.001711, allocations: 120.2 kB / 21.94 MB, free: 8 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.002198/0.002198, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.563/1.563, allocations: 207.6 MB / 236 MB, free: 9.969 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.002008/0.002008, allocations: 51.94 kB / 348.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005171/0.3245, allocations: 4.059 MB / 401.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3265, allocations: 0.9298 MB / 402.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.3268, allocations: 11.91 kB / 402.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.327, allocations: 93.61 kB / 402.7 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.3274, allocations: 184.8 kB / 402.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.3278, allocations: 145.2 kB / 403.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007676/0.3286, allocations: 0.6716 MB / 403.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.3289, allocations: 153.7 kB / 403.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.3293, allocations: 266.6 kB / 404.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.3297, allocations: 289.6 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.767e-05/0.3298, allocations: 54.66 kB / 404.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3299, allocations: 55.41 kB / 404.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.33, allocations: 135.7 kB / 404.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.3302, allocations: 303.1 kB / 405 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007902/0.331, allocations: 0.6468 MB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.331, allocations: 0 / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.331, allocations: 0 / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.3311, allocations: 1.969 kB / 405.6 MB, free: 4.414 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.00148/0.3325, allocations: 0.7979 MB / 406.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3326, allocations: 12.42 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.3327, allocations: 65.42 kB / 406.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.3332, allocations: 317.1 kB / 406.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.3333, allocations: 37.06 kB / 406.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.3334, allocations: 49.8 kB / 406.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.3342, allocations: 487.5 kB / 407.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3342, allocations: 0 / 407.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.3342, allocations: 20.38 kB / 407.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.3343, allocations: 12.56 kB / 407.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.3349, allocations: 334.3 kB / 407.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.3376, allocations: 1.631 MB / 409.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004608/0.338, allocations: 265 kB / 409.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.3382, allocations: 130.6 kB / 409.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.3383, allocations: 3.453 kB / 409.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3383, allocations: 37.88 kB / 409.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.3383, allocations: 0 / 409.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001876/0.3402, allocations: 0.8089 MB / 410.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3402, allocations: 84.36 kB / 410.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.3407, allocations: 383.8 kB / 411 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3407, allocations: 31.98 kB / 411.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3409, allocations: 295 kB / 411.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.3409, allocations: 119.2 kB / 411.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3411, allocations: 71.83 kB / 411.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.3412, allocations: 351.8 kB / 411.9 MB, free: 408 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3414, allocations: 104.6 kB / 412 MB, free: 372 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.3416, allocations: 197.4 kB / 412.2 MB, free: 204 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.3421, allocations: 317.4 kB / 412.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3421, allocations: 1.406 kB / 412.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009146/0.343, allocations: 452.9 kB / 412.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.343, allocations: 5.594 kB / 412.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.343, allocations: 2.938 kB / 412.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.3434, allocations: 82.38 kB / 413 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.3437, allocations: 75.67 kB / 413.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003292/0.347, allocations: 2.925 MB / 416 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.3474, allocations: 22.84 kB / 416 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.3474, allocations: 16.62 kB / 416.1 MB, free: 12.74 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.0002647/0.3477, allocations: 166.5 kB / 416.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.3478, allocations: 41.33 kB / 416.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.854e-05/0.3479, allocations: 44.16 kB / 416.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3479, allocations: 3.906 kB / 416.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/0.3479, allocations: 10.61 kB / 416.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3479, allocations: 0 / 416.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.3495, allocations: 0.8867 MB / 417.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.3495, allocations: 5.797 kB / 417.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.3497, allocations: 50.11 kB / 417.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002871/0.3499, allocations: 81.2 kB / 417.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.35, allocations: 12.58 kB / 417.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/0.3527, allocations: 2.924 MB / 420.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3527, allocations: 3.984 kB / 420.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3538, allocations: 0.6071 MB / 420.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3539, allocations: 41.7 kB / 420.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3539, allocations: 14.09 kB / 420.9 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3543, allocations: 34.88 kB / 421 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.3544, allocations: 27.45 kB / 421 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.3544, allocations: 11.59 kB / 421 MB, free: 8.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.3547, allocations: 272.3 kB / 421.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3547, allocations: 1.062 kB / 421.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006652/0.3554, allocations: 120 kB / 421.4 MB, free: 8.164 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.0001583/0.3556, allocations: 116.7 kB / 421.5 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009958/0.3566, allocations: 0.5016 MB / 422 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3566, allocations: 1.5 kB / 422 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.3572, allocations: 380.2 kB / 422.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.3577, allocations: 58.61 kB / 422.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3596, allocations: 0.9983 MB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.3601, allocations: 0.8368 MB / 424.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3602, allocations: 30.81 kB / 424.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3602, allocations: 0 / 424.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of Templates: time 0.01356/0.3738, allocations: 8.951 MB / 433.3 MB, free: 14.66 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: 9.131568252108991]