Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001819/0.001819, allocations: 74.33 kB / 21.24 MB, free: 0.5469 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.002269/0.002269, allocations: 159.4 kB / 24.5 MB, free: 3.719 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 32.81 MB / 294.1 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002205/0.002205, allocations: 59.91 kB / 440.6 MB, free: 9.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3512, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005791/0.3569, allocations: 6.137 MB / 0.5001 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.3604, allocations: 2.131 MB / 0.5022 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.3609, allocations: 23.22 kB / 0.5022 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.364, allocations: 1.491 MB / 0.5037 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.3657, allocations: 0.6682 MB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.367, allocations: 0.6914 MB / 0.505 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009666/0.3679, allocations: 1.151 MB / 0.5062 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009305/0.3689, allocations: 0.7531 MB / 0.5069 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.3694, allocations: 499.7 kB / 0.5074 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.3698, allocations: 0.5316 MB / 0.5079 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3699, allocations: 93.84 kB / 0.508 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.3705, allocations: 273 kB / 0.5082 GB, free: 22.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3706, allocations: 248.1 kB / 0.5085 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.3709, allocations: 466.5 kB / 0.5089 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.3721, allocations: 1.47 MB / 0.5103 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3721, allocations: 0 / 0.5103 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3721, allocations: 0 / 0.5103 GB, free: 21.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3721, allocations: 0 / 0.5103 GB, free: 21.55 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003591/0.3757, allocations: 1.64 MB / 0.5119 GB, free: 20.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3757, allocations: 8.969 kB / 0.512 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009356/0.3851, allocations: 1.258 MB / 0.5132 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.3866, allocations: 493.5 kB / 0.5137 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-05/0.3867, allocations: 87.19 kB / 0.5137 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.387, allocations: 122.4 kB / 0.5139 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.3895, allocations: 1.33 MB / 0.5152 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.3896, allocations: 9.828 kB / 0.5152 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.3897, allocations: 47.8 kB / 0.5152 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.3897, allocations: 28.88 kB / 0.5152 GB, free: 19.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.3921, allocations: 1.367 MB / 0.5166 GB, free: 18.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006764/0.3988, allocations: 3.321 MB / 0.5198 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.4005, allocations: 0.7854 MB / 0.5206 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.4011, allocations: 335.5 kB / 0.5209 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4012, allocations: 33.23 kB / 0.5209 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4012, allocations: 45.42 kB / 0.521 GB, free: 16.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/0.4012, allocations: 0.8438 kB / 0.521 GB, free: 16.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.002086/0.4033, allocations: 1.027 MB / 0.522 GB, free: 16.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.4033, allocations: 61.06 kB / 0.522 GB, free: 16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.4039, allocations: 498.5 kB / 0.5225 GB, free: 15.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/0.4039, allocations: 41.98 kB / 0.5226 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.4042, allocations: 0.4946 MB / 0.523 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.4043, allocations: 316.6 kB / 0.5233 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.4046, allocations: 194.6 kB / 0.5235 GB, free: 14.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.4047, allocations: 367.9 kB / 0.5239 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.4053, allocations: 342.6 kB / 0.5242 GB, free: 14.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.406, allocations: 0.5669 MB / 0.5248 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.4074, allocations: 0.9348 MB / 0.5257 GB, free: 13.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4074, allocations: 6.094 kB / 0.5257 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001986/0.4093, allocations: 1.115 MB / 0.5268 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4094, allocations: 7.656 kB / 0.5268 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4094, allocations: 7.859 kB / 0.5268 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002862/0.4097, allocations: 69.55 kB / 0.5268 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.4107, allocations: 244.6 kB / 0.5271 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4122, allocations: 2.57 MB / 0.5296 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.413, allocations: 104.2 kB / 0.5297 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.4131, allocations: 49.66 kB / 0.5297 GB, free: 10.29 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004257/0.4135, allocations: 249 kB / 0.53 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4136, allocations: 63.03 kB / 0.53 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.4154, allocations: 1.078 MB / 0.5311 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4154, allocations: 13.22 kB / 0.5311 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4154, allocations: 1 kB / 0.5311 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.4154, allocations: 4.688 kB / 0.5311 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.4187, allocations: 2.067 MB / 0.5331 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.4187, allocations: 6.766 kB / 0.5331 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.4195, allocations: 178.4 kB / 0.5333 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.4197, allocations: 67.11 kB / 0.5334 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.4197, allocations: 27.09 kB / 0.5334 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4211, allocations: 2.566 MB / 0.5359 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.4211, allocations: 11.12 kB / 0.5359 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.4232, allocations: 1.453 MB / 0.5373 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.4233, allocations: 81.3 kB / 0.5374 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.4234, allocations: 24.55 kB / 0.5374 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.4241, allocations: 56.27 kB / 0.5375 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.4242, allocations: 79.95 kB / 0.5376 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/0.4243, allocations: 36.38 kB / 0.5376 GB, free: 4.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.4246, allocations: 342.8 kB / 0.5379 GB, free: 4.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4246, allocations: 0 / 0.5379 GB, free: 4.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4257, allocations: 320.9 kB / 0.5382 GB, free: 4.512 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 (92): * Single equations (assignments): 90 * 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.0002696/0.426, allocations: 177.9 kB / 0.5384 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.4279, allocations: 1.026 MB / 0.5394 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4279, allocations: 1 kB / 0.5394 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.4288, allocations: 0.6022 MB / 0.54 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.4295, allocations: 86.42 kB / 0.5401 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.4326, allocations: 1.756 MB / 0.5418 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4331, allocations: 400.1 kB / 0.5422 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.4337, allocations: 119.9 kB / 0.5423 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.4339, allocations: 75.59 kB / 0.5423 GB, free: 2.188 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4339, allocations: 0 / 0.5423 GB, free: 2.188 MB / 446.1 MB Notification: Performance of Templates: time 0.01721/0.4511, allocations: 8.761 MB / 0.5509 GB, free: 13.61 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.487323404988274]