Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001332/0.001332, allocations: 105.2 kB / 20.44 MB, free: 1.504 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.001318/0.001318, allocations: 221.2 kB / 23.76 MB, free: 4.723 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.311/1.311, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.197/0.197, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [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.002042/0.002042, allocations: 71.89 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1056, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009319/0.1149, allocations: 7.805 MB / 0.525 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.1192, allocations: 2.376 MB / 0.5273 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.1197, allocations: 31.94 kB / 0.5273 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.1235, allocations: 1.824 MB / 0.5291 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.1254, allocations: 0.7379 MB / 0.5298 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.1277, allocations: 1.063 MB / 0.5309 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.1296, allocations: 1.452 MB / 0.5323 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.1311, allocations: 0.938 MB / 0.5332 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.1319, allocations: 0.6267 MB / 0.5338 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.133, allocations: 0.747 MB / 0.5346 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.1332, allocations: 116 kB / 0.5347 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007555/0.134, allocations: 327.8 kB / 0.535 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.1343, allocations: 314.8 kB / 0.5353 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007676/0.1351, allocations: 0.6647 MB / 0.5359 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.1372, allocations: 1.778 MB / 0.5377 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1372, allocations: 3.938 kB / 0.5377 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1372, allocations: 0 / 0.5377 GB, free: 1.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.69e-05/0.1373, allocations: 0 / 0.5377 GB, free: 1.934 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.188/0.3253, allocations: 2.358 MB / 0.54 GB, free: 27.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3253, allocations: 9.031 kB / 0.54 GB, free: 27.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009952/0.3353, allocations: 1.5 MB / 0.5414 GB, free: 27.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3363, allocations: 0.5704 MB / 0.542 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.3364, allocations: 102.7 kB / 0.5421 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.3366, allocations: 133.4 kB / 0.5422 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.3389, allocations: 1.528 MB / 0.5437 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.3389, allocations: 2.719 kB / 0.5437 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.339, allocations: 60.31 kB / 0.5438 GB, free: 27.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.339, allocations: 37.94 kB / 0.5438 GB, free: 27.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.3414, allocations: 1.579 MB / 0.5454 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.3479, allocations: 5.117 MB / 0.5504 GB, free: 23.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.3496, allocations: 1.1 MB / 0.5514 GB, free: 23.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000816/0.3504, allocations: 0.5509 MB / 0.552 GB, free: 22.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3505, allocations: 29.58 kB / 0.552 GB, free: 22.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.3506, allocations: 53.31 kB / 0.552 GB, free: 22.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.905e-06/0.3506, allocations: 0 / 0.552 GB, free: 22.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008113/0.3587, allocations: 3.061 MB / 0.555 GB, free: 21.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.3587, allocations: 98.11 kB / 0.5551 GB, free: 21.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004706/0.3592, allocations: 484.7 kB / 0.5556 GB, free: 21.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.3593, allocations: 42.48 kB / 0.5556 GB, free: 21.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.3595, allocations: 0.4887 MB / 0.5561 GB, free: 21.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.3597, allocations: 455.5 kB / 0.5565 GB, free: 20.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.36, allocations: 225.1 kB / 0.5568 GB, free: 20.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.3601, allocations: 383.9 kB / 0.5571 GB, free: 20.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007737/0.3608, allocations: 469.8 kB / 0.5576 GB, free: 20.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/0.3617, allocations: 0.7446 MB / 0.5583 GB, free: 19.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.3633, allocations: 1.261 MB / 0.5595 GB, free: 18.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.3633, allocations: 2.031 kB / 0.5595 GB, free: 18.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002636/0.366, allocations: 1.645 MB / 0.5611 GB, free: 18.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.366, allocations: 8.344 kB / 0.5611 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.366, allocations: 12.2 kB / 0.5612 GB, free: 18.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.3675, allocations: 0.5262 MB / 0.5617 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.3682, allocations: 215.8 kB / 0.5619 GB, free: 17.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001871/0.3684, allocations: 63.52 kB / 0.5619 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.3691, allocations: 132.9 kB / 0.5621 GB, free: 17.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-05/0.3692, allocations: 53.62 kB / 0.5621 GB, free: 17.79 MB / 414.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: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0003909/0.3695, allocations: 274.6 kB / 0.5624 GB, free: 17.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3697, allocations: 92.5 kB / 0.5625 GB, free: 17.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.372, allocations: 1.557 MB / 0.564 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3721, allocations: 19.31 kB / 0.564 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3721, allocations: 0 / 0.564 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3721, allocations: 6.188 kB / 0.564 GB, free: 16.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.376, allocations: 2.842 MB / 0.5668 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.376, allocations: 0 / 0.5668 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.3766, allocations: 143.9 kB / 0.5669 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.3778, allocations: 0.5256 MB / 0.5674 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.3779, allocations: 27.05 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-05/0.3779, allocations: 31.38 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3779, allocations: 2.125 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.381, allocations: 2.283 MB / 0.5697 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.3814, allocations: 215.3 kB / 0.5699 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3815, allocations: 26.12 kB / 0.57 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.382, allocations: 45.84 kB / 0.57 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3822, allocations: 82.09 kB / 0.5701 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.3822, allocations: 38.52 kB / 0.5701 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.3825, allocations: 318.5 kB / 0.5704 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 0 / 0.5704 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008885/0.3834, allocations: 350.5 kB / 0.5708 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/0.3836, allocations: 155.1 kB / 0.5709 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.3861, allocations: 1.304 MB / 0.5722 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3861, allocations: 4.062 kB / 0.5722 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3875, allocations: 0.6758 MB / 0.5728 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.3881, allocations: 116.4 kB / 0.5729 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.391, allocations: 2.169 MB / 0.5751 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3913, allocations: 1.049 MB / 0.5761 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3915, allocations: 70.73 kB / 0.5762 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3915, allocations: 4 kB / 0.5762 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Templates: time 0.01624/0.4078, allocations: 16.9 MB / 0.5927 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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: 7.383876699954271]