Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.0009354/0.0009354, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001022/0.001022, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.8845/0.8845, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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.235/0.235, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.937e-05, allocations: 3.719 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006499/0.006529, allocations: 7.533 MB / 386.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.01002, allocations: 2.353 MB / 388.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.01063, allocations: 31.88 kB / 388.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.01277, allocations: 1.929 MB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.01418, allocations: 0.7142 MB / 391.3 MB, free: 5.465 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.0159, allocations: 1.044 MB / 392.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.01749, allocations: 1.467 MB / 393.8 MB, free: 2.941 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.01873, allocations: 0.9144 MB / 394.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.01975, allocations: 0.8653 MB / 395.6 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.02037, allocations: 0.5687 MB / 396.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.02055, allocations: 112 kB / 396.3 MB, free: 468 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.02119, allocations: 327.5 kB / 396.6 MB, free: 140 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.02136, allocations: 306.8 kB / 396.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.02174, allocations: 458.8 kB / 397.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.02299, allocations: 1.23 MB / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.023, allocations: 0 / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.023, allocations: 4 kB / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.02302, allocations: 0 / 398.6 MB, free: 14.15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.00432/0.02734, allocations: 2.459 MB / 401.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.02738, allocations: 8.031 kB / 401.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.03219, allocations: 1.658 MB / 402.7 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007588/0.03295, allocations: 0.5483 MB / 403.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.03301, allocations: 103 kB / 403.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.03316, allocations: 140.3 kB / 403.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.03466, allocations: 1.254 MB / 404.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.0347, allocations: 12.12 kB / 404.8 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.03479, allocations: 59.94 kB / 404.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.03481, allocations: 32 kB / 404.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.03601, allocations: 0.877 MB / 405.7 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.04086, allocations: 4.345 MB / 410.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.04193, allocations: 0.963 MB / 411 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.04236, allocations: 393.1 kB / 411.4 MB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.355e-05/0.04246, allocations: 40.97 kB / 411.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.04249, allocations: 50.39 kB / 411.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.567e-06/0.04249, allocations: 0 / 411.5 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004917/0.04741, allocations: 2.442 MB / 414 MB, free: 14.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.04745, allocations: 90.11 kB / 414 MB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.04777, allocations: 466.5 kB / 414.5 MB, free: 13.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.04783, allocations: 49.7 kB / 414.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.04803, allocations: 0.5191 MB / 415.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.04827, allocations: 444.2 kB / 415.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.04849, allocations: 232.5 kB / 415.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.04864, allocations: 0.5547 MB / 416.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.04899, allocations: 254.5 kB / 416.5 MB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.04949, allocations: 0.5977 MB / 417.1 MB, free: 11.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.05043, allocations: 0.9161 MB / 418 MB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.05044, allocations: 4 kB / 418.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001482/0.05192, allocations: 1.179 MB / 419.2 MB, free: 8.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.05194, allocations: 12.09 kB / 419.2 MB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.05195, allocations: 8 kB / 419.3 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008294/0.05278, allocations: 424.9 kB / 419.7 MB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.0532, allocations: 207.6 kB / 419.9 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001062/0.05331, allocations: 56.09 kB / 419.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.05366, allocations: 115.1 kB / 420 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.05371, allocations: 55.98 kB / 420.1 MB, free: 7.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (112): * Single equations (assignments): 111 * 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.000487/0.0542, allocations: 224.3 kB / 420.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.05434, allocations: 123.5 kB / 420.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.05573, allocations: 1.131 MB / 421.6 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.05574, allocations: 15.98 kB / 421.6 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.05574, allocations: 4 kB / 421.6 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.05575, allocations: 7.984 kB / 421.6 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.05818, allocations: 2.068 MB / 423.7 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.05818, allocations: 0 / 423.7 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.05851, allocations: 143.8 kB / 423.8 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/0.05925, allocations: 418.7 kB / 424.2 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.05931, allocations: 24 kB / 424.2 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001495/0.05946, allocations: 71.62 kB / 424.3 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.05946, allocations: 7.984 kB / 424.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.06135, allocations: 1.656 MB / 426 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.0616, allocations: 207.1 kB / 426.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.06167, allocations: 20 kB / 426.2 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.06194, allocations: 39.98 kB / 426.2 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.06206, allocations: 85.14 kB / 426.3 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.0621, allocations: 36 kB / 426.3 MB, free: 1.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.06228, allocations: 291 kB / 426.6 MB, free: 1.309 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06228, allocations: 4.031 kB / 426.6 MB, free: 1.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.06289, allocations: 359.1 kB / 427 MB, free: 0.9531 MB / 394.7 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 (84): * Single equations (assignments): 83 * 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.0002357/0.06313, allocations: 163 kB / 427.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.06477, allocations: 0.9634 MB / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.06478, allocations: 4 kB / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.06557, allocations: 0.5592 MB / 428.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.06601, allocations: 125.9 kB / 428.8 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.06843, allocations: 1.908 MB / 430.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.06855, allocations: 199.2 kB / 430.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.0688, allocations: 106.4 kB / 431 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.06893, allocations: 68.48 kB / 431.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.06893, allocations: 0 / 431.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of Templates: time 0.1289/0.1978, allocations: 13.3 MB / 444.4 MB, free: 89.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.544555285014212]