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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=100000,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=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 106.5 kB / 17.73 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 191 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 55.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1229, allocations: 46.61 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00608/0.129, allocations: 4.046 MB / 379.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3097/0.4387, allocations: 0.8974 MB / 380.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.439, allocations: 11.5 kB / 380.1 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.4394, allocations: 93.11 kB / 380.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.4398, allocations: 184 kB / 380.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4402, allocations: 140 kB / 380.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.4409, allocations: 0.6748 MB / 381.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.4412, allocations: 206.5 kB / 381.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.4416, allocations: 261 kB / 381.7 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.4419, allocations: 293.8 kB / 381.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.442, allocations: 54.31 kB / 382 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.4422, allocations: 55.03 kB / 382.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.4423, allocations: 129 kB / 382.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.4426, allocations: 305.9 kB / 382.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.4435, allocations: 0.635 MB / 383.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4435, allocations: 5.156 kB / 383.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.4436, allocations: 0 / 383.1 MB, free: 9.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.4436, allocations: 0 / 383.1 MB, free: 9.148 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.001518/0.4451, allocations: 0.8586 MB / 384 MB, free: 8.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4452, allocations: 17.67 kB / 384 MB, free: 8.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.4453, allocations: 64.06 kB / 384.1 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.4458, allocations: 372.1 kB / 384.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.4459, allocations: 37.97 kB / 384.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.446, allocations: 47.47 kB / 384.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.4468, allocations: 484.5 kB / 385 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.4468, allocations: 3.938 kB / 385 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.4469, allocations: 22.09 kB / 385 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.4469, allocations: 11.94 kB / 385 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.4475, allocations: 330.2 kB / 385.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.4502, allocations: 1.68 MB / 387 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.4508, allocations: 273.9 kB / 387.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.451, allocations: 137.3 kB / 387.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.4511, allocations: 7.438 kB / 387.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4511, allocations: 38.47 kB / 387.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.4511, allocations: 0 / 387.5 MB, free: 6.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001878/0.453, allocations: 0.9506 MB / 388.4 MB, free: 5.949 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.453, allocations: 81.28 kB / 388.5 MB, free: 5.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/0.4535, allocations: 379.6 kB / 388.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.4535, allocations: 36.05 kB / 388.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4537, allocations: 287.8 kB / 389.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.4538, allocations: 110 kB / 389.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.4539, allocations: 80.62 kB / 389.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.454, allocations: 351.1 kB / 389.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.4542, allocations: 99.84 kB / 389.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.4545, allocations: 203.1 kB / 390 MB, free: 4.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.455, allocations: 306.6 kB / 390.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.455, allocations: 1.031 kB / 390.3 MB, free: 4.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008202/0.4559, allocations: 447.9 kB / 390.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4559, allocations: 6.344 kB / 390.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4559, allocations: 2 kB / 390.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.4563, allocations: 85.33 kB / 390.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.4566, allocations: 80.14 kB / 390.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.4588, allocations: 3.126 MB / 394 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.4591, allocations: 26.23 kB / 394.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4591, allocations: 11.91 kB / 394.1 MB, free: 1.215 MB / 318.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.0001909/0.4593, allocations: 162.7 kB / 394.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.4594, allocations: 50.94 kB / 394.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.4595, allocations: 46.5 kB / 394.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4595, allocations: 4.859 kB / 394.3 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.4595, allocations: 9.688 kB / 394.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.4595, allocations: 1.406 kB / 394.3 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.4608, allocations: 0.9296 MB / 395.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4609, allocations: 0 / 395.3 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.4611, allocations: 52.64 kB / 395.3 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.4613, allocations: 77.38 kB / 395.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.4614, allocations: 7 kB / 395.4 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.4638, allocations: 3.132 MB / 398.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4639, allocations: 0 / 398.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.4649, allocations: 0.6136 MB / 399.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.465, allocations: 123.1 kB / 399.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.465, allocations: 7.188 kB / 399.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.4654, allocations: 31.69 kB / 399.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.4655, allocations: 23.92 kB / 399.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.4655, allocations: 15.88 kB / 399.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.4659, allocations: 272.6 kB / 399.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4659, allocations: 0 / 399.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006793/0.4666, allocations: 116.5 kB / 399.7 MB, free: 12.63 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.0001658/0.4667, allocations: 114.6 kB / 399.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.4678, allocations: 0.5217 MB / 400.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4678, allocations: 0 / 400.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.4684, allocations: 388.7 kB / 400.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.469, allocations: 57.25 kB / 400.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.4709, allocations: 0.9468 MB / 401.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.4715, allocations: 0.8356 MB / 402.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.4716, allocations: 45.05 kB / 402.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.4717, allocations: 29.44 kB / 402.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4717, allocations: 0 / 402.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Templates: time 0.01158/0.4833, allocations: 4.881 MB / 407.5 MB, free: 9.172 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (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) 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) Reference file matches