Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001811/0.001811, allocations: 113 kB / 18.49 MB, free: 4.539 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.002323/0.002323, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.513/1.513, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.188/0.188, allocations: 38.5 MB / 349.4 MB, free: 2.594 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 63.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1186, allocations: 62.41 MB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006952/0.1256, allocations: 4.398 MB / 0.5417 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1274, allocations: 0.966 MB / 0.5426 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1276, allocations: 19.81 kB / 0.5426 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1279, allocations: 59.48 kB / 0.5427 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.1286, allocations: 242.8 kB / 0.5429 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1289, allocations: 99.8 kB / 0.543 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/0.1295, allocations: 0.4945 MB / 0.5435 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1298, allocations: 123.9 kB / 0.5436 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.1302, allocations: 235.1 kB / 0.5438 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.1306, allocations: 287 kB / 0.5441 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.1306, allocations: 24 kB / 0.5441 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.1307, allocations: 27.94 kB / 0.5441 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1309, allocations: 151.6 kB / 0.5443 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.131, allocations: 175.1 kB / 0.5445 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.1315, allocations: 366.5 kB / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1315, allocations: 0 / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1315, allocations: 0 / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1315, allocations: 4 kB / 0.5448 GB, free: 15.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001325/0.1329, allocations: 0.6708 MB / 0.5455 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1329, allocations: 8.031 kB / 0.5455 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.579e-05/0.1329, allocations: 8.75 kB / 0.5455 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.522e-05/0.133, allocations: 62.72 kB / 0.5455 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.1331, allocations: 36.7 kB / 0.5456 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.1337, allocations: 391.7 kB / 0.546 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.1338, allocations: 24.55 kB / 0.546 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.1338, allocations: 24 kB / 0.546 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.1344, allocations: 356.7 kB / 0.5463 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1344, allocations: 0 / 0.5463 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1344, allocations: 12 kB / 0.5463 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.1346, allocations: 28.53 kB / 0.5464 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.135, allocations: 238 kB / 0.5466 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.1368, allocations: 1.363 MB / 0.5479 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.1372, allocations: 169 kB / 0.5481 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1374, allocations: 93.73 kB / 0.5482 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1374, allocations: 0 / 0.5482 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.1374, allocations: 34.56 kB / 0.5482 GB, free: 12.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1374, allocations: 0 / 0.5482 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001514/0.1389, allocations: 0.7758 MB / 0.549 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.139, allocations: 85.05 kB / 0.5491 GB, free: 11.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.1394, allocations: 300.5 kB / 0.5493 GB, free: 10.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1394, allocations: 29.7 kB / 0.5494 GB, free: 10.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.1396, allocations: 220 kB / 0.5496 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.1396, allocations: 59.66 kB / 0.5496 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.1397, allocations: 49.66 kB / 0.5497 GB, free: 10.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1399, allocations: 338.8 kB / 0.55 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.14, allocations: 67.95 kB / 0.5501 GB, free: 10.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1402, allocations: 181.3 kB / 0.5502 GB, free: 9.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.1405, allocations: 255.6 kB / 0.5505 GB, free: 9.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1405, allocations: 0 / 0.5505 GB, free: 9.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005301/0.1411, allocations: 318.2 kB / 0.5508 GB, free: 9.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1411, allocations: 12.06 kB / 0.5508 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1411, allocations: 4 kB / 0.5508 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/0.1413, allocations: 48.83 kB / 0.5509 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1415, allocations: 51.91 kB / 0.5509 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.1431, allocations: 1.605 MB / 0.5525 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1433, allocations: 11.98 kB / 0.5525 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.1433, allocations: 12 kB / 0.5525 GB, free: 7.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.1435, allocations: 182.4 kB / 0.5527 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.1435, allocations: 27.81 kB / 0.5527 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.144, allocations: 236.3 kB / 0.5529 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.144, allocations: 0 / 0.5529 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.144, allocations: 4 kB / 0.5529 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.144, allocations: 0 / 0.5529 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.1449, allocations: 0.6465 MB / 0.5536 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1449, allocations: 0 / 0.5536 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1451, allocations: 19.98 kB / 0.5536 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.1453, allocations: 68.77 kB / 0.5536 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1453, allocations: 0 / 0.5536 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.1469, allocations: 1.613 MB / 0.5552 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1469, allocations: 0 / 0.5552 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005827/0.1475, allocations: 405.8 kB / 0.5556 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.1476, allocations: 101 kB / 0.5557 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.1476, allocations: 8 kB / 0.5557 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.1477, allocations: 15.92 kB / 0.5557 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.1478, allocations: 12.05 kB / 0.5557 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1478, allocations: 4 kB / 0.5557 GB, free: 3.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.148, allocations: 207.1 kB / 0.5559 GB, free: 3.602 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 0 / 0.5559 GB, free: 3.602 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.1484, allocations: 72 kB / 0.556 GB, free: 3.531 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009144/0.1493, allocations: 0.9477 MB / 0.5569 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006319/0.15, allocations: 302.3 kB / 0.5572 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.15, allocations: 4 kB / 0.5572 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.1504, allocations: 210.5 kB / 0.5574 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.1509, allocations: 64.33 kB / 0.5575 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.155, allocations: 3.045 MB / 0.5605 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.1555, allocations: 0.8026 MB / 0.5612 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.1556, allocations: 50.95 kB / 0.5613 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.1558, allocations: 99.41 kB / 0.5614 GB, free: 13.76 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1558, allocations: 0 / 0.5614 GB, free: 13.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.1977, allocations: 6.163 MB / 0.5674 GB, free: 7.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.89, allocations: 13.92 kB / 0.5674 GB, free: 7.746 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Impedance.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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: 13.955707527988125]