Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4103/0.4103, allocations: 43.5 MB / 313.6 MB, free: 8.539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1536, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008606/0.1623, allocations: 6.888 MB / 447 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.1667, allocations: 2.163 MB / 449.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005147/0.1673, allocations: 23.94 kB / 449.2 MB, free: 5.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.1707, allocations: 1.436 MB / 450.6 MB, free: 4.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.1729, allocations: 0.7778 MB / 451.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1741, allocations: 0.5181 MB / 451.9 MB, free: 2.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.1754, allocations: 1.19 MB / 453.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.1767, allocations: 0.9172 MB / 454 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.1774, allocations: 490 kB / 454.5 MB, free: 156 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2663/0.4437, allocations: 0.6077 MB / 455.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004613/0.4443, allocations: 97.28 kB / 455.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.4453, allocations: 285.7 kB / 455.5 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.4456, allocations: 254.6 kB / 455.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.4462, allocations: 0.5765 MB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.4478, allocations: 1.447 MB / 457.7 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4478, allocations: 4.656 kB / 457.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4478, allocations: 0.9375 kB / 457.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4478, allocations: 2.438 kB / 457.8 MB, free: 38.58 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003569/0.4514, allocations: 1.707 MB / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4515, allocations: 12.83 kB / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.4516, allocations: 185.9 kB / 459.7 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00952/0.4612, allocations: 1.424 MB / 461.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.4618, allocations: 0.536 MB / 461.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.4619, allocations: 94.7 kB / 461.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.4621, allocations: 129.7 kB / 461.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.464, allocations: 1.181 MB / 463 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.4641, allocations: 6.594 kB / 463 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.4642, allocations: 51.66 kB / 463.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.4642, allocations: 28.56 kB / 463.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4663, allocations: 1.438 MB / 464.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/0.4726, allocations: 4.837 MB / 469.4 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.4744, allocations: 1.204 MB / 470.6 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005269/0.4749, allocations: 373.8 kB / 470.9 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.475, allocations: 107.2 kB / 471 MB, free: 33.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4751, allocations: 43.5 kB / 471.1 MB, free: 33.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.707e-06/0.4751, allocations: 0 / 471.1 MB, free: 33.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=91): time 0.00207/0.4772, allocations: 1.194 MB / 472.3 MB, free: 33.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.4772, allocations: 62.41 kB / 472.3 MB, free: 32.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/0.4781, allocations: 0.8 MB / 473.1 MB, free: 32.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.4781, allocations: 41.14 kB / 473.2 MB, free: 32.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.4784, allocations: 477.1 kB / 473.7 MB, free: 32.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.4786, allocations: 315.4 kB / 474 MB, free: 31.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.4789, allocations: 195.7 kB / 474.2 MB, free: 31.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.479, allocations: 403.9 kB / 474.5 MB, free: 31.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.4795, allocations: 342.2 kB / 474.9 MB, free: 31.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.4801, allocations: 0.6033 MB / 475.5 MB, free: 30.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4813, allocations: 0.9798 MB / 476.5 MB, free: 30.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4813, allocations: 2.188 kB / 476.5 MB, free: 30.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00175/0.483, allocations: 1.169 MB / 477.6 MB, free: 29.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4831, allocations: 10.25 kB / 477.6 MB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4831, allocations: 9.625 kB / 477.7 MB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.4834, allocations: 78.66 kB / 477.7 MB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.4843, allocations: 261.2 kB / 478 MB, free: 29.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.486, allocations: 2.827 MB / 480.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.4869, allocations: 156.9 kB / 481 MB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.487, allocations: 52.53 kB / 481 MB, free: 26.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003505/0.4874, allocations: 245 kB / 481.3 MB, free: 26.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4875, allocations: 91.28 kB / 481.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.4891, allocations: 1.112 MB / 482.5 MB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.4891, allocations: 9.031 kB / 482.5 MB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4891, allocations: 6.938 kB / 482.5 MB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.4892, allocations: 3.234 kB / 482.5 MB, free: 26.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.4922, allocations: 2.721 MB / 485.2 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4922, allocations: 6.719 kB / 485.2 MB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.4929, allocations: 187.9 kB / 485.4 MB, free: 24.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.4931, allocations: 60.19 kB / 485.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.4932, allocations: 28.08 kB / 485.5 MB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.4947, allocations: 2.818 MB / 488.3 MB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4947, allocations: 8.719 kB / 488.3 MB, free: 21.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.4968, allocations: 1.488 MB / 489.8 MB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.4971, allocations: 192.8 kB / 490 MB, free: 20.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4972, allocations: 31.81 kB / 490 MB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.4979, allocations: 60.97 kB / 490.1 MB, free: 20.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.498, allocations: 80.86 kB / 490.1 MB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.727e-05/0.4981, allocations: 34.03 kB / 490.2 MB, free: 20.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006385/0.4987, allocations: 0.5611 MB / 490.7 MB, free: 20 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4987, allocations: 0 / 490.7 MB, free: 20 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00104/0.4998, allocations: 298 kB / 491 MB, free: 19.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002698/0.5025, allocations: 2.089 MB / 493.1 MB, free: 18.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.5049, allocations: 1.13 MB / 494.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5049, allocations: 1.625 kB / 494.3 MB, free: 17.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.5059, allocations: 0.6203 MB / 494.9 MB, free: 17.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.5067, allocations: 123.1 kB / 495 MB, free: 17.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.5209, allocations: 9.316 MB / 0.4925 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.5218, allocations: 0.9972 MB / 0.4935 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000882/0.5227, allocations: 150.1 kB / 0.4936 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.5232, allocations: 366.2 kB / 0.494 GB, free: 10.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5232, allocations: 0 / 0.494 GB, free: 10.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.659/3.182, allocations: 18.75 MB / 0.5123 GB, free: 3.082 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/3.182, allocations: 251.8 kB / 0.5125 GB, free: 2.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/5.774, allocations: 0 / 0.5125 GB, free: 2.82 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches