Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.000842/0.000842, allocations: 80.36 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.000865/0.000865, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.8868/0.8868, 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.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.988e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004585/0.004604, allocations: 5.348 MB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.006607, allocations: 2.036 MB / 331.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.006872, allocations: 51.69 kB / 332 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.007476, allocations: 397.3 kB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007635/0.00824, allocations: 0.6132 MB / 333 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.008473, allocations: 231.7 kB / 333.2 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.009724, allocations: 2.326 MB / 335.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.01062, allocations: 1.131 MB / 336.6 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.01198, allocations: 1.593 MB / 338.2 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.01286, allocations: 1.091 MB / 339.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.01306, allocations: 288 kB / 339.6 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.01342, allocations: 375.8 kB / 340 MB, free: 336 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.01384, allocations: 0.744 MB / 340.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.0144, allocations: 0.8576 MB / 341.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.01663, allocations: 3.88 MB / 345.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01663, allocations: 0 / 345.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01663, allocations: 4 kB / 345.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.01666, allocations: 0 / 345.5 MB, free: 10.83 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.002609/0.01927, allocations: 2.358 MB / 347.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.01932, allocations: 11.98 kB / 347.8 MB, free: 8.418 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/0.01956, allocations: 286.2 kB / 348.1 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.02005, allocations: 287.5 kB / 348.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.02143, allocations: 1.322 MB / 349.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.0215, allocations: 127.9 kB / 349.8 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.02167, allocations: 176.4 kB / 350 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.02441, allocations: 2.78 MB / 352.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.02443, allocations: 0 / 352.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.02454, allocations: 75.98 kB / 352.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.327e-05/0.02462, allocations: 111.6 kB / 353 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.0268, allocations: 2.126 MB / 355.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.03285, allocations: 6.676 MB / 361.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.0337, allocations: 0.7083 MB / 362.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.03416, allocations: 442.8 kB / 362.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.03431, allocations: 44.47 kB / 363 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.03433, allocations: 39.06 kB / 363 MB, free: 8.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 1.814e-06/0.03434, allocations: 0 / 363 MB, free: 8.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002372/0.03671, allocations: 2.144 MB / 365.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.03675, allocations: 89.61 kB / 365.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.03803, allocations: 1.56 MB / 366.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.03806, allocations: 37.7 kB / 366.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.03852, allocations: 1.013 MB / 367.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.03862, allocations: 198.4 kB / 368 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.03882, allocations: 238.7 kB / 368.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.03892, allocations: 361.9 kB / 368.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.03936, allocations: 462.4 kB / 369.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.0401, allocations: 1.137 MB / 370.2 MB, free: 1.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.0413, allocations: 1.641 MB / 371.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.04131, allocations: 8 kB / 371.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001605/0.04292, allocations: 1.701 MB / 373.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.04294, allocations: 16.09 kB / 373.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.04295, allocations: 24 kB / 373.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.04335, allocations: 188.6 kB / 373.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.04382, allocations: 283.5 kB / 374.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.04535, allocations: 2.242 MB / 376.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.04585, allocations: 83.83 kB / 376.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.04591, allocations: 68.05 kB / 376.4 MB, free: 10.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (148): * Single equations (assignments): 147 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006825/0.04659, allocations: 0.7195 MB / 377.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.04673, allocations: 143.2 kB / 377.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008711/0.0476, allocations: 0.835 MB / 378.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.0476, allocations: 4 kB / 378.1 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.04761, allocations: 3.984 kB / 378.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.04761, allocations: 0 / 378.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.04984, allocations: 2.343 MB / 380.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.04984, allocations: 352 / 380.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.05003, allocations: 95.88 kB / 380.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003078/0.05033, allocations: 152.6 kB / 380.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.05036, allocations: 16 kB / 380.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.05166, allocations: 2.188 MB / 382.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.05167, allocations: 4 kB / 382.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.05278, allocations: 1.312 MB / 384.3 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.05304, allocations: 219 kB / 384.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.05311, allocations: 16 kB / 384.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.0534, allocations: 43.97 kB / 384.5 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.05349, allocations: 55.78 kB / 384.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.05351, allocations: 20.06 kB / 384.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008762/0.05439, allocations: 1.048 MB / 385.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05439, allocations: 0 / 385.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.05515, allocations: 352 kB / 386 MB, free: 0.6992 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001572/0.05672, allocations: 1.953 MB / 387.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.05782, allocations: 1.138 MB / 389.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.05782, allocations: 0 / 389.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.05826, allocations: 0.4904 MB / 389.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.05913, allocations: 372.8 kB / 389.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.07299, allocations: 14.06 MB / 404 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.07381, allocations: 1.143 MB / 405.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005366/0.07435, allocations: 323.4 kB / 405.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/0.07493, allocations: 0.6214 MB / 406.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.07493, allocations: 0 / 406.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.1174, allocations: 36.39 MB / 442.5 MB, free: 7.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.15, allocations: 3.125 kB / 442.5 MB, free: 7.523 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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: 10.060297779738903]