Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 51.92 kB / 365.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 52.15 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007662/0.1132, allocations: 5.926 MB / 423.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1173, allocations: 2.076 MB / 425.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005765/0.1179, allocations: 43.81 kB / 425.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.119, allocations: 405.3 kB / 426.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1205, allocations: 0.5633 MB / 426.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.1209, allocations: 219.7 kB / 427 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.1235, allocations: 2.221 MB / 429.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.1255, allocations: 1.588 MB / 430.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.1279, allocations: 1.052 MB / 431.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1297, allocations: 1.234 MB / 433.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.1301, allocations: 292 kB / 433.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.1308, allocations: 379.8 kB / 433.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00068/0.1315, allocations: 0.7206 MB / 434.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.1329, allocations: 1.221 MB / 435.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.1372, allocations: 3.78 MB / 439.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1372, allocations: 7.875 kB / 439.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1372, allocations: 0 / 439.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.749e-05/0.1373, allocations: 0 / 439.5 MB, free: 6.742 MB / 366.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.005342/0.1426, allocations: 2.437 MB / 441.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1427, allocations: 8.031 kB / 441.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000467/0.1431, allocations: 274.2 kB / 442.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.144, allocations: 259.5 kB / 442.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.1466, allocations: 1.357 MB / 443.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.1467, allocations: 131.5 kB / 443.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.1469, allocations: 172 kB / 444.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1905/0.3374, allocations: 2.546 MB / 446.7 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.3375, allocations: 0 / 446.7 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.3377, allocations: 73.97 kB / 446.7 MB, free: 27.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.3378, allocations: 100.5 kB / 446.8 MB, free: 27.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.3409, allocations: 2.107 MB / 448.9 MB, free: 27.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.3518, allocations: 7.378 MB / 456.3 MB, free: 24.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3531, allocations: 1.228 MB / 457.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.3537, allocations: 452 kB / 458 MB, free: 23.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.3539, allocations: 113.7 kB / 458.1 MB, free: 23.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.3539, allocations: 44.61 kB / 458.1 MB, free: 23.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.3539, allocations: 1.031 kB / 458.1 MB, free: 23.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004045/0.358, allocations: 2.288 MB / 460.4 MB, free: 22.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.358, allocations: 83.83 kB / 460.5 MB, free: 22.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.3602, allocations: 1.511 MB / 462 MB, free: 21.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3602, allocations: 38.23 kB / 462.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.3608, allocations: 1.001 MB / 463.1 MB, free: 20.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3609, allocations: 201.9 kB / 463.2 MB, free: 20.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.3612, allocations: 244.7 kB / 463.5 MB, free: 20.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.3612, allocations: 359.6 kB / 463.8 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.3619, allocations: 458 kB / 464.3 MB, free: 20.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000905/0.3628, allocations: 1.095 MB / 465.4 MB, free: 19.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3644, allocations: 1.618 MB / 467 MB, free: 17.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.3644, allocations: 6.875 kB / 467 MB, free: 17.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00257/0.367, allocations: 1.694 MB / 468.7 MB, free: 17.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.367, allocations: 14.22 kB / 468.7 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.367, allocations: 23.78 kB / 468.7 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007233/0.3678, allocations: 173 kB / 468.9 MB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/0.3686, allocations: 283.2 kB / 469.2 MB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.3704, allocations: 2.375 MB / 471.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.3715, allocations: 89.28 kB / 471.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.3715, allocations: 68 kB / 471.7 MB, free: 14.89 MB / 366.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.001001/0.3725, allocations: 0.7112 MB / 472.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/0.3728, allocations: 136.9 kB / 472.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3741, allocations: 0.8419 MB / 473.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3741, allocations: 5.344 kB / 473.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3741, allocations: 1.375 kB / 473.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3741, allocations: 1 kB / 473.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.3778, allocations: 2.487 MB / 475.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3778, allocations: 2.656 kB / 475.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.3781, allocations: 102 kB / 476 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006079/0.3788, allocations: 154.2 kB / 476.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3788, allocations: 14.36 kB / 476.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.3804, allocations: 2.299 MB / 478.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3804, allocations: 7.016 kB / 478.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.3821, allocations: 1.316 MB / 479.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.3827, allocations: 293.5 kB / 480.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.3828, allocations: 17.5 kB / 480.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.3834, allocations: 45.73 kB / 480.1 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3835, allocations: 53.56 kB / 480.2 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.3835, allocations: 25.45 kB / 480.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001286/0.3848, allocations: 1.034 MB / 481.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3848, allocations: 3.938 kB / 481.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001472/0.3863, allocations: 357.5 kB / 481.6 MB, free: 8.273 MB / 366.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.001944/0.3882, allocations: 1.944 MB / 483.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.39, allocations: 1.119 MB / 484.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.39, allocations: 4 kB / 484.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.3906, allocations: 0.4998 MB / 485.2 MB, free: 5.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.3919, allocations: 384.9 kB / 485.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.4115, allocations: 13.91 MB / 499.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.4133, allocations: 1.702 MB / 0.4894 GB, free: 6.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000973/0.4143, allocations: 322.8 kB / 0.4897 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008917/0.4152, allocations: 0.6164 MB / 0.4903 GB, free: 5.285 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4152, allocations: 0 / 0.4903 GB, free: 5.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08023/0.4954, allocations: 33.97 MB / 0.5235 GB, free: 3.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.72, allocations: 8 kB / 0.5235 GB, free: 3.691 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.209006831981242]