Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001485/0.001485, allocations: 112.5 kB / 21.22 MB, free: 0.7305 MB / 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.001635/0.001635, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.37/1.37, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 47.92 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007863/0.251, allocations: 5.978 MB / 437.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.2552, allocations: 2.142 MB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005641/0.2557, allocations: 51.62 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.2567, allocations: 409.3 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.2581, allocations: 0.5866 MB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2585, allocations: 235.7 kB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.2608, allocations: 2.221 MB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.2623, allocations: 1.162 MB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.2644, allocations: 1.085 MB / 445.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.2661, allocations: 1.242 MB / 447 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.2664, allocations: 288 kB / 447.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006519/0.2671, allocations: 379.8 kB / 447.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006396/0.2677, allocations: 0.709 MB / 448.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.269, allocations: 1.237 MB / 449.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.2729, allocations: 3.792 MB / 453.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2729, allocations: 3.938 kB / 453.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2729, allocations: 0 / 453.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.546e-05/0.2729, allocations: 0 / 453.4 MB, free: 1.223 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004763/0.2777, allocations: 2.369 MB / 455.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2777, allocations: 12.03 kB / 455.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.832e-05/0.2778, allocations: 47.73 kB / 455.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003313/0.2781, allocations: 274.2 kB / 456.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/0.279, allocations: 287.5 kB / 456.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.2814, allocations: 1.315 MB / 457.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2815, allocations: 131.5 kB / 457.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.2817, allocations: 172 kB / 458 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.2858, allocations: 2.559 MB / 460.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.2858, allocations: 0 / 460.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.286, allocations: 75.98 kB / 460.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.2861, allocations: 91.59 kB / 460.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/0.2895, allocations: 2.11 MB / 462.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.301, allocations: 7.252 MB / 470.1 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3023, allocations: 0.704 MB / 470.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/0.303, allocations: 442.5 kB / 471.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.3032, allocations: 44.41 kB / 471.3 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.3032, allocations: 39 kB / 471.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 3.236e-06/0.3032, allocations: 112 / 471.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004338/0.3076, allocations: 2.141 MB / 473.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.3076, allocations: 81.55 kB / 473.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.3097, allocations: 1.528 MB / 475.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.3098, allocations: 37.7 kB / 475.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007902/0.3106, allocations: 0.9901 MB / 476.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3108, allocations: 214.3 kB / 476.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.3111, allocations: 242.7 kB / 476.5 MB, free: 9.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3113, allocations: 357.9 kB / 476.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007081/0.312, allocations: 454.3 kB / 477.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3132, allocations: 1.094 MB / 478.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.3151, allocations: 1.619 MB / 480 MB, free: 5.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.3152, allocations: 8 kB / 480 MB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002824/0.318, allocations: 1.692 MB / 481.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.318, allocations: 16.03 kB / 481.7 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.318, allocations: 24 kB / 481.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007278/0.3188, allocations: 184.5 kB / 481.9 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008353/0.3196, allocations: 279.6 kB / 482.2 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.322, allocations: 2.261 MB / 484.5 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3231, allocations: 83.83 kB / 484.6 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3232, allocations: 67.98 kB / 484.6 MB, free: 0.7812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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.001084/0.3243, allocations: 0.7078 MB / 485.3 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.3246, allocations: 143.2 kB / 485.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.326, allocations: 0.8372 MB / 486.3 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.326, allocations: 8 kB / 486.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.326, allocations: 0 / 486.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3261, allocations: 3.984 kB / 486.3 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.3299, allocations: 2.472 MB / 488.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3299, allocations: 4 kB / 488.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.3303, allocations: 95.88 kB / 488.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.3309, allocations: 153 kB / 489 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.331, allocations: 15.98 kB / 489.1 MB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.3333, allocations: 2.207 MB / 491.3 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3333, allocations: 4 kB / 491.3 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.3355, allocations: 1.321 MB / 492.6 MB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/0.3361, allocations: 223 kB / 492.8 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.3363, allocations: 16.06 kB / 492.8 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.3368, allocations: 43.97 kB / 492.9 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.3369, allocations: 59.78 kB / 492.9 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.337, allocations: 20 kB / 492.9 MB, free: 8.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.3385, allocations: 1.04 MB / 494 MB, free: 7.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3385, allocations: 0 / 494 MB, free: 7.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001348/0.3399, allocations: 351.9 kB / 494.3 MB, free: 6.797 MB / 398.1 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.00262/0.3425, allocations: 1.953 MB / 496.3 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.3445, allocations: 1.114 MB / 497.4 MB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3445, allocations: 0 / 497.4 MB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008089/0.3453, allocations: 0.499 MB / 497.9 MB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.347, allocations: 371.7 kB / 498.3 MB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.3675, allocations: 13.97 MB / 0.5002 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.3689, allocations: 1.702 MB / 0.5019 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009376/0.3699, allocations: 323.3 kB / 0.5022 GB, free: 1.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/0.3707, allocations: 0.6164 MB / 0.5028 GB, free: 1.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3707, allocations: 4 kB / 0.5028 GB, free: 1.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2827/0.6533, allocations: 35.08 MB / 0.5371 GB, free: 97.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.96, allocations: 8.312 kB / 0.5371 GB, free: 97.88 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 16.45134304498788]