Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001764/0.001764, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.003065/0.003065, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 0.4961 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 66.04 MB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008779/0.3183, allocations: 6.581 MB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.3228, allocations: 2.217 MB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.3233, allocations: 27.94 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003921/0.3272, allocations: 1.621 MB / 0.5708 GB, free: 9.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.3291, allocations: 0.6951 MB / 0.5715 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3306, allocations: 0.7281 MB / 0.5722 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.3321, allocations: 1.245 MB / 0.5734 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3333, allocations: 0.8673 MB / 0.5742 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.334, allocations: 0.5253 MB / 0.5748 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007824/0.3348, allocations: 0.6653 MB / 0.5754 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.3349, allocations: 108 kB / 0.5755 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.3355, allocations: 295.8 kB / 0.5758 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3357, allocations: 279 kB / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.3362, allocations: 0.4937 MB / 0.5765 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.338, allocations: 1.622 MB / 0.5781 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.338, allocations: 0 / 0.5781 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.338, allocations: 0 / 0.5781 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3381, allocations: 0 / 0.5781 GB, free: 2.211 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004526/0.3426, allocations: 1.757 MB / 0.5798 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3426, allocations: 12.03 kB / 0.5799 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.3429, allocations: 190.7 kB / 0.58 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00956/0.3524, allocations: 1.272 MB / 0.5813 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.3536, allocations: 0.5118 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.3537, allocations: 103 kB / 0.5819 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.354, allocations: 143.9 kB / 0.582 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.3565, allocations: 1.417 MB / 0.5834 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.3565, allocations: 0 / 0.5834 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.3566, allocations: 56 kB / 0.5835 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.3567, allocations: 36 kB / 0.5835 GB, free: 12.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.3592, allocations: 1.443 MB / 0.5849 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008078/0.3672, allocations: 3.85 MB / 0.5887 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.3692, allocations: 0.8178 MB / 0.5895 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.3697, allocations: 336.2 kB / 0.5898 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.3699, allocations: 28.97 kB / 0.5898 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.3699, allocations: 51.56 kB / 0.5899 GB, free: 5.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 3.226e-06/0.3699, allocations: 0 / 0.5899 GB, free: 5.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002343/0.3723, allocations: 1.056 MB / 0.5909 GB, free: 4.871 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3723, allocations: 60.41 kB / 0.5909 GB, free: 4.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3735, allocations: 0.8519 MB / 0.5918 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.3735, allocations: 41.7 kB / 0.5918 GB, free: 3.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.374, allocations: 0.5194 MB / 0.5923 GB, free: 3.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.3743, allocations: 317.3 kB / 0.5926 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.3746, allocations: 198.9 kB / 0.5928 GB, free: 2.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.3748, allocations: 402.7 kB / 0.5932 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.3755, allocations: 346.5 kB / 0.5935 GB, free: 2.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009044/0.3764, allocations: 0.627 MB / 0.5941 GB, free: 1.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.378, allocations: 0.9914 MB / 0.5951 GB, free: 268 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.378, allocations: 0 / 0.5951 GB, free: 268 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00229/0.3803, allocations: 1.194 MB / 0.5963 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.3803, allocations: 11.94 kB / 0.5963 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.3803, allocations: 12.06 kB / 0.5963 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.3806, allocations: 65.67 kB / 0.5964 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.3817, allocations: 267.6 kB / 0.5966 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.3841, allocations: 2.609 MB / 0.5992 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.385, allocations: 154.8 kB / 0.5993 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.3851, allocations: 51.98 kB / 0.5994 GB, free: 11.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.0004066/0.3855, allocations: 261.7 kB / 0.5996 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.3857, allocations: 99.33 kB / 0.5997 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.3877, allocations: 1.099 MB / 0.6008 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3877, allocations: 12 kB / 0.6008 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3877, allocations: 0 / 0.6008 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.3877, allocations: 7.969 kB / 0.6008 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.3916, allocations: 2.232 MB / 0.603 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3916, allocations: 8.719 kB / 0.603 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.3923, allocations: 183.7 kB / 0.6032 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3926, allocations: 57.67 kB / 0.6032 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.3926, allocations: 31.98 kB / 0.6032 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.395, allocations: 2.606 MB / 0.6058 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.395, allocations: 8 kB / 0.6058 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.3975, allocations: 1.486 MB / 0.6072 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.3978, allocations: 127.2 kB / 0.6074 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.398, allocations: 23.94 kB / 0.6074 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.3987, allocations: 55.91 kB / 0.6074 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3988, allocations: 88.41 kB / 0.6075 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.3989, allocations: 35.98 kB / 0.6076 GB, free: 2.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008288/0.3997, allocations: 0.5771 MB / 0.6081 GB, free: 2.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3997, allocations: 3.938 kB / 0.6081 GB, free: 2.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4008, allocations: 315.6 kB / 0.6084 GB, free: 1.855 MB / 446.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 (93): * Single equations (assignments): 91 * 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.003004/0.4038, allocations: 2.091 MB / 0.6105 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.4059, allocations: 1.047 MB / 0.6115 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.4059, allocations: 4 kB / 0.6115 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009888/0.4069, allocations: 0.5914 MB / 0.6121 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.4078, allocations: 128.2 kB / 0.6122 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.4205, allocations: 8.456 MB / 0.6205 GB, free: 4.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.4209, allocations: 424.3 kB / 0.6209 GB, free: 4.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005644/0.4215, allocations: 151.8 kB / 0.621 GB, free: 4.277 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.4221, allocations: 395.3 kB / 0.6214 GB, free: 3.891 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4221, allocations: 4 kB / 0.6214 GB, free: 3.887 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06185/0.4839, allocations: 21.5 MB / 0.6424 GB, free: 14.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.39, allocations: 7.938 kB / 0.6424 GB, free: 14.63 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 15.528470777993789]