Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008534/0.0008534, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8928/0.8928, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.748e-06/1.149e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003001/0.003013, allocations: 3.496 MB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.004341, allocations: 0.9891 MB / 329 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.004535, allocations: 39.75 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.004775, allocations: 150.8 kB / 329.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.005394, allocations: 318 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.005581, allocations: 139.8 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009239/0.006504, allocations: 1.454 MB / 331.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.007041, allocations: 0.6158 MB / 331.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007679/0.007809, allocations: 0.9356 MB / 332.6 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.008403, allocations: 0.717 MB / 333.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.008521, allocations: 156 kB / 333.5 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.008681, allocations: 160 kB / 333.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.008966, allocations: 482.6 kB / 334.1 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.009346, allocations: 0.5106 MB / 334.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.01053, allocations: 2.088 MB / 336.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01053, allocations: 4 kB / 336.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01053, allocations: 0 / 336.7 MB, free: 3.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.01055, allocations: 0 / 336.7 MB, free: 3.574 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.0017/0.01225, allocations: 1.619 MB / 338.3 MB, free: 1.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01229, allocations: 15.98 kB / 338.4 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.01243, allocations: 177.3 kB / 338.5 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.01271, allocations: 176 kB / 338.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008918/0.0136, allocations: 0.8428 MB / 339.5 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.01364, allocations: 82.59 kB / 339.6 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.01374, allocations: 108.4 kB / 339.7 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.01541, allocations: 1.719 MB / 341.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.01543, allocations: 0 / 341.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/0.0155, allocations: 48 kB / 341.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.01553, allocations: 38.22 kB / 341.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.017, allocations: 1.324 MB / 342.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/0.0207, allocations: 3.721 MB / 346.6 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.02128, allocations: 0.5995 MB / 347.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.0217, allocations: 409.4 kB / 347.6 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.02172, allocations: 8.375 kB / 347.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.02175, allocations: 34.94 kB / 347.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.703e-06/0.02175, allocations: 4 kB / 347.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001887/0.02364, allocations: 1.811 MB / 349.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.02367, allocations: 55.91 kB / 349.5 MB, free: 6.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.02433, allocations: 0.8359 MB / 350.3 MB, free: 5.605 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.02436, allocations: 41.7 kB / 350.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.02461, allocations: 0.57 MB / 350.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.02469, allocations: 158.6 kB / 351.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.02479, allocations: 98.3 kB / 351.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.02491, allocations: 386.8 kB / 351.6 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.0252, allocations: 297 kB / 351.9 MB, free: 4.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.02554, allocations: 405 kB / 352.3 MB, free: 3.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.02615, allocations: 0.6851 MB / 352.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.02615, allocations: 7.938 kB / 352.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001163/0.02732, allocations: 0.896 MB / 353.8 MB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02734, allocations: 11.98 kB / 353.9 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02734, allocations: 7.938 kB / 353.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.02755, allocations: 104.8 kB / 354 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.02781, allocations: 115.8 kB / 354.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.0293, allocations: 2.246 MB / 356.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.02947, allocations: 23.98 kB / 356.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.02949, allocations: 16 kB / 356.4 MB, free: 15.33 MB / 330.7 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.02984, allocations: 459.5 kB / 356.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.02991, allocations: 83.59 kB / 356.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.02998, allocations: 87.02 kB / 357 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.02999, allocations: 7.984 kB / 357 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.03, allocations: 4.188 kB / 357 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.03, allocations: 0 / 357 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.03172, allocations: 1.808 MB / 358.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.03172, allocations: 0 / 358.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.03189, allocations: 83.88 kB / 358.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/0.03204, allocations: 100.8 kB / 359 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.03206, allocations: 12 kB / 359 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.03388, allocations: 2.206 MB / 361.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03388, allocations: 0 / 361.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.03491, allocations: 1.155 MB / 362.3 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.03501, allocations: 83.55 kB / 362.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.03505, allocations: 12.06 kB / 362.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.03524, allocations: 56 kB / 362.5 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.03531, allocations: 39.88 kB / 362.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.03533, allocations: 19.92 kB / 362.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004867/0.03582, allocations: 0.5888 MB / 363.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03582, allocations: 0 / 363.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.03626, allocations: 212 kB / 363.3 MB, free: 8.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].i) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.03745, allocations: 1.69 MB / 365 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.03822, allocations: 0.7817 MB / 365.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03823, allocations: 0 / 365.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.03864, allocations: 454.2 kB / 366.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.03915, allocations: 178.5 kB / 366.4 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008099/0.04725, allocations: 8.516 MB / 375 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.04776, allocations: 0.7449 MB / 375.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.04803, allocations: 185.6 kB / 375.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.04835, allocations: 388.4 kB / 376.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.893e-06/0.04835, allocations: 0 / 376.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.08325, allocations: 20.98 MB / 397.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/7.81, allocations: 14.92 kB / 397.3 MB, free: 6.176 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.505600217729807]