Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 207.1 kB / 23.73 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.95 MB / 360.8 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 87.86 kB / 0.4962 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3543, allocations: 66.08 MB / 0.5607 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009114/0.3635, allocations: 6.583 MB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005203/0.3687, allocations: 2.217 MB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008265/0.3695, allocations: 27.94 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004296/0.3738, allocations: 1.625 MB / 0.5709 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.3761, allocations: 0.7027 MB / 0.5716 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.3779, allocations: 0.7077 MB / 0.5723 GB, free: 8.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3795, allocations: 1.245 MB / 0.5735 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.3808, allocations: 0.8516 MB / 0.5743 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.3817, allocations: 0.5253 MB / 0.5748 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.3824, allocations: 0.5949 MB / 0.5754 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.3825, allocations: 104 kB / 0.5755 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.3832, allocations: 295.8 kB / 0.5758 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.3835, allocations: 270.9 kB / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.384, allocations: 0.4898 MB / 0.5765 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.3859, allocations: 1.626 MB / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3859, allocations: 0 / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3859, allocations: 0 / 0.5781 GB, free: 2.137 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.3859, allocations: 0 / 0.5781 GB, free: 2.137 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.004883/0.3908, allocations: 1.757 MB / 0.5798 GB, free: 352 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3909, allocations: 12.03 kB / 0.5798 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.3911, allocations: 194.7 kB / 0.58 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009099/0.4002, allocations: 1.268 MB / 0.5813 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.4014, allocations: 0.5118 MB / 0.5818 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.4015, allocations: 99.03 kB / 0.5819 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.4017, allocations: 135.9 kB / 0.582 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.4045, allocations: 1.425 MB / 0.5834 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.4045, allocations: 3.984 kB / 0.5834 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4046, allocations: 56 kB / 0.5834 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.4047, allocations: 32 kB / 0.5835 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.4072, allocations: 1.439 MB / 0.5849 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008089/0.4153, allocations: 3.854 MB / 0.5886 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.4172, allocations: 0.8217 MB / 0.5894 GB, free: 6.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006864/0.4179, allocations: 336.2 kB / 0.5898 GB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.418, allocations: 32.97 kB / 0.5898 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.4181, allocations: 47.5 kB / 0.5898 GB, free: 5.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.946e-06/0.4181, allocations: 0 / 0.5898 GB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002352/0.4204, allocations: 1.056 MB / 0.5909 GB, free: 4.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4205, allocations: 64.34 kB / 0.5909 GB, free: 4.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4216, allocations: 0.8519 MB / 0.5918 GB, free: 3.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.12e-05/0.4216, allocations: 41.7 kB / 0.5918 GB, free: 3.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.4221, allocations: 0.5078 MB / 0.5923 GB, free: 3.293 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/0.4224, allocations: 321.3 kB / 0.5926 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.4227, allocations: 206.8 kB / 0.5928 GB, free: 2.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.423, allocations: 398.7 kB / 0.5932 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.4236, allocations: 346.5 kB / 0.5935 GB, free: 2.031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.4247, allocations: 0.6231 MB / 0.5941 GB, free: 1.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.4264, allocations: 0.9914 MB / 0.5951 GB, free: 196 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4265, allocations: 8 kB / 0.5951 GB, free: 188 kB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002442/0.4289, allocations: 1.189 MB / 0.5963 GB, free: 14.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4289, allocations: 22.53 kB / 0.5963 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4289, allocations: 8 kB / 0.5963 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.4293, allocations: 65.67 kB / 0.5964 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4303, allocations: 259.6 kB / 0.5966 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.433, allocations: 2.617 MB / 0.5992 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.434, allocations: 154.7 kB / 0.5993 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4341, allocations: 59.92 kB / 0.5994 GB, free: 11.57 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.0005767/0.4347, allocations: 261.6 kB / 0.5996 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.4349, allocations: 107.3 kB / 0.5997 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.437, allocations: 1.099 MB / 0.6008 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.437, allocations: 11.98 kB / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.437, allocations: 0 / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.437, allocations: 7.984 kB / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.4412, allocations: 2.22 MB / 0.603 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.4412, allocations: 8 kB / 0.603 GB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.442, allocations: 184.5 kB / 0.6032 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.4422, allocations: 65.67 kB / 0.6032 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.4423, allocations: 24 kB / 0.6032 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.4448, allocations: 2.607 MB / 0.6058 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.4449, allocations: 7.938 kB / 0.6058 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.4475, allocations: 1.482 MB / 0.6072 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.4478, allocations: 127.1 kB / 0.6074 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4479, allocations: 27.98 kB / 0.6074 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/0.4486, allocations: 59.89 kB / 0.6075 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4488, allocations: 80.41 kB / 0.6075 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.4489, allocations: 40.06 kB / 0.6076 GB, free: 2.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008882/0.4497, allocations: 0.581 MB / 0.6081 GB, free: 2.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4497, allocations: 0 / 0.6081 GB, free: 2.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001196/0.4509, allocations: 307.6 kB / 0.6084 GB, free: 1.781 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.003134/0.4541, allocations: 2.088 MB / 0.6105 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.4563, allocations: 1.055 MB / 0.6115 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.4563, allocations: 0 / 0.6115 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.4573, allocations: 0.5957 MB / 0.6121 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.4581, allocations: 115.6 kB / 0.6122 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.4718, allocations: 8.475 MB / 0.6205 GB, free: 4.789 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.4723, allocations: 432.3 kB / 0.6209 GB, free: 4.336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006689/0.4729, allocations: 151.8 kB / 0.621 GB, free: 4.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.4735, allocations: 387.3 kB / 0.6214 GB, free: 3.805 MB / 462.1 MB Notification: Performance of SimCode: time 1.763e-06/0.4735, allocations: 0 / 0.6214 GB, free: 3.805 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.5414, allocations: 21.15 MB / 0.642 GB, free: 14.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.56, allocations: 15.94 kB / 0.6421 GB, free: 14.82 MB / 494.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.746430350933224]