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.001346/0.001346, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001671/0.001671, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2569/0.2569, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.001988/0.001988, allocations: 71.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 66.02 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00954/0.3401, allocations: 7.56 MB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004585/0.3447, allocations: 2.373 MB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007774/0.3455, allocations: 27.94 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.3495, allocations: 1.758 MB / 0.5721 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.3516, allocations: 0.7024 MB / 0.5728 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3533, allocations: 0.7493 MB / 0.5735 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.3552, allocations: 1.249 MB / 0.5747 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.3565, allocations: 0.8711 MB / 0.5756 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007311/0.3573, allocations: 0.5292 MB / 0.5761 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007832/0.3581, allocations: 0.6614 MB / 0.5767 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3582, allocations: 108 kB / 0.5768 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006339/0.3588, allocations: 307.8 kB / 0.5771 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.3591, allocations: 267 kB / 0.5774 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.3596, allocations: 0.6102 MB / 0.578 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.3615, allocations: 1.607 MB / 0.5796 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3615, allocations: 0 / 0.5796 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3615, allocations: 4 kB / 0.5796 GB, free: 1.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.3615, allocations: 0 / 0.5796 GB, free: 1.012 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.004359/0.3659, allocations: 1.761 MB / 0.5813 GB, free: 15.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3659, allocations: 8.031 kB / 0.5813 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.3661, allocations: 198.7 kB / 0.5815 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.3763, allocations: 1.272 MB / 0.5827 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.3776, allocations: 0.5002 MB / 0.5832 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.3777, allocations: 99.03 kB / 0.5833 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.3779, allocations: 139.9 kB / 0.5834 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.3802, allocations: 1.249 MB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.3803, allocations: 7.984 kB / 0.5847 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3804, allocations: 59.94 kB / 0.5847 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.3804, allocations: 32 kB / 0.5847 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3829, allocations: 1.455 MB / 0.5862 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008295/0.3912, allocations: 4.197 MB / 0.5903 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.393, allocations: 0.8257 MB / 0.5911 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.3936, allocations: 336.2 kB / 0.5914 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3938, allocations: 32.95 kB / 0.5914 GB, free: 4.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3938, allocations: 51.55 kB / 0.5915 GB, free: 4.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.826e-06/0.3938, allocations: 0 / 0.5915 GB, free: 4.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002311/0.3961, allocations: 1.052 MB / 0.5925 GB, free: 3.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3962, allocations: 64.41 kB / 0.5926 GB, free: 3.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3973, allocations: 0.8286 MB / 0.5934 GB, free: 2.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.3973, allocations: 41.7 kB / 0.5934 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.3978, allocations: 0.5156 MB / 0.5939 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.3982, allocations: 321.2 kB / 0.5942 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/0.3988, allocations: 202.8 kB / 0.5944 GB, free: 1.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.3991, allocations: 402.7 kB / 0.5948 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.4001, allocations: 350.4 kB / 0.5951 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4015, allocations: 0.6231 MB / 0.5957 GB, free: 28 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.404, allocations: 0.9953 MB / 0.5967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.404, allocations: 3.938 kB / 0.5967 GB, free: 14.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003602/0.4076, allocations: 1.19 MB / 0.5979 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4077, allocations: 11.94 kB / 0.5979 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.4077, allocations: 16.06 kB / 0.5979 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004136/0.4081, allocations: 65.67 kB / 0.598 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.4098, allocations: 271.5 kB / 0.5982 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.4132, allocations: 2.613 MB / 0.6008 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4147, allocations: 158.8 kB / 0.6009 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4148, allocations: 52 kB / 0.601 GB, free: 10.3 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.000619/0.4155, allocations: 257.5 kB / 0.6012 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.4157, allocations: 99.33 kB / 0.6013 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.4177, allocations: 1.099 MB / 0.6024 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.4178, allocations: 15.98 kB / 0.6024 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4178, allocations: 0 / 0.6024 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.4178, allocations: 3.984 kB / 0.6024 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/0.4217, allocations: 2.407 MB / 0.6048 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4217, allocations: 8.781 kB / 0.6048 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.4225, allocations: 179.8 kB / 0.6049 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.4227, allocations: 61.62 kB / 0.605 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.4227, allocations: 27.98 kB / 0.605 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.425, allocations: 2.614 MB / 0.6076 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.425, allocations: 8 kB / 0.6076 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.4275, allocations: 1.489 MB / 0.609 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.4277, allocations: 127.1 kB / 0.6092 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.4279, allocations: 27.95 kB / 0.6092 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.4286, allocations: 51.97 kB / 0.6092 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.4288, allocations: 88.39 kB / 0.6093 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.4288, allocations: 35.98 kB / 0.6094 GB, free: 1.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008293/0.4296, allocations: 0.5771 MB / 0.6099 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 4 kB / 0.6099 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4307, allocations: 311.6 kB / 0.6102 GB, free: 332 kB / 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.00285/0.4336, allocations: 2.087 MB / 0.6123 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002031/0.4356, allocations: 1.055 MB / 0.6133 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4356, allocations: 0 / 0.6133 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4366, allocations: 0.597 MB / 0.6139 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.4374, allocations: 127.2 kB / 0.614 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.4508, allocations: 8.489 MB / 0.6223 GB, free: 3.309 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00087/0.4516, allocations: 1.008 MB / 0.6233 GB, free: 2.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006175/0.4523, allocations: 155.8 kB / 0.6234 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/0.4529, allocations: 395.3 kB / 0.6238 GB, free: 1.73 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4529, allocations: 0 / 0.6238 GB, free: 1.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07164/0.5245, allocations: 20.68 MB / 0.644 GB, free: 13.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.62, allocations: 7.172 kB / 0.644 GB, free: 13.23 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.815672773867846]