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.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.001551/0.001551, allocations: 122.2 kB / 17.84 MB, free: 5.242 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.00153/0.00153, allocations: 199.8 kB / 20.79 MB, free: 2.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4039/0.4039, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 179] 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.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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 68.27 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3759, allocations: 61.01 MB / 0.5116 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007289/0.3832, allocations: 6.955 MB / 0.5184 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3877, allocations: 2.205 MB / 0.5206 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.3882, allocations: 27.94 kB / 0.5206 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002888/0.3911, allocations: 1.532 MB / 0.5221 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.3927, allocations: 0.6993 MB / 0.5228 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.3939, allocations: 0.7165 MB / 0.5235 GB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008729/0.3948, allocations: 1.19 MB / 0.5247 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.3956, allocations: 0.6118 MB / 0.5252 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.396, allocations: 0.4981 MB / 0.5257 GB, free: 492 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.3965, allocations: 0.6185 MB / 0.5263 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.3967, allocations: 96 kB / 0.5264 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000717/0.3974, allocations: 279.8 kB / 0.5267 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.3976, allocations: 263 kB / 0.5269 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005606/0.3982, allocations: 0.5674 MB / 0.5275 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.4001, allocations: 1.474 MB / 0.5289 GB, free: 13.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4001, allocations: 4 kB / 0.5289 GB, free: 13.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4001, allocations: 0 / 0.5289 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4001, allocations: 0 / 0.5289 GB, free: 13.18 MB / 398.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.004336/0.4044, allocations: 1.731 MB / 0.5306 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4045, allocations: 19.83 kB / 0.5307 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.904e-05/0.4045, allocations: 34.67 kB / 0.5307 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.4047, allocations: 186.1 kB / 0.5309 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.4151, allocations: 1.428 MB / 0.5323 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.4162, allocations: 0.5443 MB / 0.5328 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.4163, allocations: 94.48 kB / 0.5329 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.4165, allocations: 120 kB / 0.533 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.4188, allocations: 1.185 MB / 0.5342 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.4188, allocations: 11.95 kB / 0.5342 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.419, allocations: 52 kB / 0.5342 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.419, allocations: 28 kB / 0.5342 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4214, allocations: 1.439 MB / 0.5356 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00785/0.4293, allocations: 4.823 MB / 0.5404 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.4313, allocations: 1.14 MB / 0.5415 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.4319, allocations: 332.2 kB / 0.5418 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.4321, allocations: 102.1 kB / 0.5419 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.4321, allocations: 51.5 kB / 0.5419 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.725e-06/0.4321, allocations: 0 / 0.5419 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002425/0.4345, allocations: 1.199 MB / 0.5431 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4346, allocations: 64.34 kB / 0.5432 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.4357, allocations: 0.8012 MB / 0.5439 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.4357, allocations: 41.7 kB / 0.544 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.4362, allocations: 496.1 kB / 0.5445 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.4365, allocations: 325.2 kB / 0.5448 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.4368, allocations: 202.8 kB / 0.545 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.437, allocations: 398.7 kB / 0.5453 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/0.4377, allocations: 342.5 kB / 0.5457 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.4386, allocations: 0.6102 MB / 0.5463 GB, free: 10.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.4402, allocations: 0.9711 MB / 0.5472 GB, free: 9.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.4402, allocations: 4 kB / 0.5472 GB, free: 9.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002069/0.4422, allocations: 1.174 MB / 0.5484 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4423, allocations: 11.94 kB / 0.5484 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4423, allocations: 8 kB / 0.5484 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/0.4426, allocations: 74.17 kB / 0.5485 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4436, allocations: 255.6 kB / 0.5487 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4462, allocations: 2.836 MB / 0.5515 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/0.447, allocations: 154.8 kB / 0.5516 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.4471, allocations: 47.98 kB / 0.5517 GB, free: 4.734 MB / 414.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.0004575/0.4476, allocations: 257.5 kB / 0.5519 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.4478, allocations: 99.39 kB / 0.552 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.4497, allocations: 1.103 MB / 0.5531 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4497, allocations: 12 kB / 0.5531 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4497, allocations: 3.938 kB / 0.5531 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.4497, allocations: 3.984 kB / 0.5531 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.4536, allocations: 2.718 MB / 0.5558 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.4536, allocations: 8.781 kB / 0.5558 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.4544, allocations: 183.7 kB / 0.5559 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.4546, allocations: 61.67 kB / 0.556 GB, free: 16 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.4546, allocations: 28.03 kB / 0.556 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002333/0.457, allocations: 2.828 MB / 0.5588 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.457, allocations: 11.94 kB / 0.5588 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.4594, allocations: 1.482 MB / 0.5602 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.4598, allocations: 204.2 kB / 0.5604 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.4599, allocations: 31.94 kB / 0.5605 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/0.4605, allocations: 51.97 kB / 0.5605 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.4607, allocations: 80.45 kB / 0.5606 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.4608, allocations: 43.92 kB / 0.5606 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008093/0.4616, allocations: 0.5576 MB / 0.5612 GB, free: 10.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4616, allocations: 4 kB / 0.5612 GB, free: 10.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4627, allocations: 287.7 kB / 0.5615 GB, free: 10.03 MB / 430.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.003217/0.466, allocations: 2.092 MB / 0.5635 GB, free: 7.824 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.4681, allocations: 1.051 MB / 0.5645 GB, free: 6.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.4681, allocations: 4 kB / 0.5645 GB, free: 6.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.469, allocations: 0.5965 MB / 0.5651 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.4698, allocations: 126.8 kB / 0.5652 GB, free: 6.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.4829, allocations: 8.305 MB / 0.5733 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.4836, allocations: 0.9962 MB / 0.5743 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000631/0.4843, allocations: 151.6 kB / 0.5745 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/0.4848, allocations: 363.3 kB / 0.5748 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4848, allocations: 4 kB / 0.5748 GB, free: 11.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/0.5458, allocations: 19.34 MB / 0.5937 GB, free: 8.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.7, allocations: 4.812 kB / 0.5937 GB, free: 8.281 MB / 462.1 MB " [Timeout remaining time 647] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.763643159996718]