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.001326/0.001326, 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.001115/0.001115, allocations: 156.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.9226/0.9226, allocations: 177 MB / 204.1 MB, free: 5.762 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.332e-06/1.332e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.359e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004439/0.004453, allocations: 5.352 MB / 329.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.007108, allocations: 2.028 MB / 331.9 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.007522, allocations: 55.62 kB / 332 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.008221, allocations: 393.4 kB / 332.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.009391, allocations: 0.6171 MB / 333 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.009683, allocations: 231.6 kB / 333.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.01098, allocations: 2.329 MB / 335.5 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009177/0.0119, allocations: 1.131 MB / 336.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.01328, allocations: 1.586 MB / 338.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008683/0.01415, allocations: 1.099 MB / 339.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.01437, allocations: 288 kB / 339.6 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.01474, allocations: 375.8 kB / 340 MB, free: 344 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006441/0.01539, allocations: 0.7518 MB / 340.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005728/0.01596, allocations: 0.8498 MB / 341.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.01834, allocations: 3.88 MB / 345.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01835, allocations: 0 / 345.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01835, allocations: 0 / 345.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.01837, allocations: 0 / 345.5 MB, free: 10.84 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.002515/0.02089, allocations: 2.361 MB / 347.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.02093, allocations: 11.98 kB / 347.8 MB, free: 8.426 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002773/0.02121, allocations: 274.3 kB / 348.1 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.02172, allocations: 291.5 kB / 348.4 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.02315, allocations: 1.322 MB / 349.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.02321, allocations: 135.9 kB / 349.8 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.02338, allocations: 172.4 kB / 350 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/0.02602, allocations: 2.784 MB / 352.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.02605, allocations: 0 / 352.8 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.02616, allocations: 83.91 kB / 352.9 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/0.02623, allocations: 107.6 kB / 353 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.02862, allocations: 2.122 MB / 355.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/0.03484, allocations: 6.684 MB / 361.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.03563, allocations: 0.7083 MB / 362.5 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.03607, allocations: 438.8 kB / 362.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.0362, allocations: 44.47 kB / 363 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.03623, allocations: 43.06 kB / 363 MB, free: 8.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 1.904e-06/0.03623, allocations: 0 / 363 MB, free: 8.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002415/0.03864, allocations: 2.137 MB / 365.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.03869, allocations: 89.61 kB / 365.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.03998, allocations: 1.564 MB / 366.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.04, allocations: 33.7 kB / 366.8 MB, free: 4.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.04045, allocations: 1.017 MB / 367.8 MB, free: 3.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.04054, allocations: 198.4 kB / 368 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.04074, allocations: 238.7 kB / 368.3 MB, free: 3.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004029/0.04114, allocations: 365.8 kB / 368.6 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004535/0.0416, allocations: 462.3 kB / 369.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.04232, allocations: 1.129 MB / 370.2 MB, free: 1.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.04349, allocations: 1.641 MB / 371.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.04349, allocations: 12 kB / 371.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00159/0.04508, allocations: 1.701 MB / 373.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.04511, allocations: 16 kB / 373.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.04512, allocations: 20 kB / 373.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.04553, allocations: 189.1 kB / 373.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.04599, allocations: 283.5 kB / 374.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.04772, allocations: 2.246 MB / 376.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.04819, allocations: 87.81 kB / 376.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.04824, allocations: 64.06 kB / 376.5 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.000625/0.04887, allocations: 0.7195 MB / 377.2 MB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.049, allocations: 139.2 kB / 377.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.04986, allocations: 0.8389 MB / 378.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.04987, allocations: 8 kB / 378.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.04987, allocations: 0 / 378.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.04988, allocations: 3.984 kB / 378.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.05208, allocations: 2.335 MB / 380.5 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.05208, allocations: 4 kB / 380.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.05227, allocations: 95.88 kB / 380.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.0526, allocations: 157 kB / 380.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.05263, allocations: 19.98 kB / 380.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.0543, allocations: 2.168 MB / 382.9 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.05431, allocations: 12.38 kB / 382.9 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.05544, allocations: 1.316 MB / 384.3 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.0557, allocations: 215 kB / 384.5 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.05579, allocations: 20 kB / 384.5 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.05607, allocations: 51.95 kB / 384.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.81e-05/0.05616, allocations: 43.86 kB / 384.6 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.05619, allocations: 20 kB / 384.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008889/0.05708, allocations: 1.052 MB / 385.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05708, allocations: 4 kB / 385.7 MB, free: 1.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007647/0.05784, allocations: 355.9 kB / 386 MB, free: 0.6953 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.001573/0.05941, allocations: 1.945 MB / 387.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.06054, allocations: 1.135 MB / 389.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.06054, allocations: 0 / 389.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.06125, allocations: 0.4946 MB / 389.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.06211, allocations: 363.7 kB / 389.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.07646, allocations: 14.07 MB / 404 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.07731, allocations: 1.132 MB / 405.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006115/0.07792, allocations: 323.4 kB / 405.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.07845, allocations: 0.6253 MB / 406.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.07845, allocations: 0 / 406.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.1313, allocations: 36.39 MB / 442.5 MB, free: 7.527 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.82/7.952, allocations: 4 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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: 9.882016642950475]