Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001435/0.001435, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001486/0.001486, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3431/0.3431, allocations: 34.27 MB / 295.3 MB, free: 0.6758 MB / 266.7 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: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.805e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01048/0.01051, allocations: 6.825 MB / 384.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.01597, allocations: 2.295 MB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.01702, allocations: 27.94 kB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005283/0.0223, allocations: 1.792 MB / 388.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.02533, allocations: 0.7181 MB / 388.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.02849, allocations: 1.028 MB / 390 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.03141, allocations: 1.451 MB / 391.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.0336, allocations: 0.9222 MB / 392.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.03554, allocations: 0.8575 MB / 393.2 MB, free: 2.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.03665, allocations: 0.5609 MB / 393.8 MB, free: 2.383 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.03701, allocations: 112 kB / 393.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.03811, allocations: 327.6 kB / 394.2 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004208/0.03853, allocations: 298.8 kB / 394.5 MB, free: 1.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.03931, allocations: 466.8 kB / 394.9 MB, free: 1.203 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.04204, allocations: 1.81 MB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.04206, allocations: 3.984 kB / 396.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.04206, allocations: 0 / 396.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.04208, allocations: 0 / 396.8 MB, free: 15.38 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.007937/0.05002, allocations: 2.323 MB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.05007, allocations: 8.031 kB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.06023, allocations: 1.639 MB / 400.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.06175, allocations: 0.5638 MB / 401.3 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.06187, allocations: 95.02 kB / 401.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002992/0.06217, allocations: 140.3 kB / 401.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.0654, allocations: 1.591 MB / 403.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.06544, allocations: 192 / 403.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.06559, allocations: 59.94 kB / 403.2 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.009e-05/0.06563, allocations: 36 kB / 403.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003025/0.06865, allocations: 1.509 MB / 404.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009314/0.07797, allocations: 4.32 MB / 409 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.08021, allocations: 1.072 MB / 410.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.08132, allocations: 0.5501 MB / 410.7 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.08148, allocations: 40.97 kB / 410.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.08155, allocations: 55.5 kB / 410.7 MB, free: 1.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.676e-06/0.08155, allocations: 0 / 410.7 MB, free: 1.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.009913/0.09146, allocations: 3.045 MB / 413.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.09155, allocations: 94.09 kB / 413.9 MB, free: 13.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.0922, allocations: 413.7 kB / 414.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.0923, allocations: 49.7 kB / 414.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/0.09298, allocations: 476.9 kB / 414.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/0.09344, allocations: 444.2 kB / 415.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000406/0.09385, allocations: 218.8 kB / 415.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.09409, allocations: 378.8 kB / 415.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.09505, allocations: 454.4 kB / 416.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.09628, allocations: 0.7036 MB / 417 MB, free: 10.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.09851, allocations: 1.202 MB / 418.2 MB, free: 9.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.09852, allocations: 4 kB / 418.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003473/0.102, allocations: 1.625 MB / 419.8 MB, free: 7.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.102, allocations: 9.719 kB / 419.8 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.102, allocations: 11.98 kB / 419.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.1038, allocations: 0.5296 MB / 420.3 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.1047, allocations: 199.7 kB / 420.5 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000211/0.1049, allocations: 53.27 kB / 420.6 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.1056, allocations: 119.1 kB / 420.7 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.1058, allocations: 55.98 kB / 420.8 MB, free: 6.797 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.0005427/0.1063, allocations: 269.5 kB / 421 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.1066, allocations: 115.5 kB / 421.1 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.1101, allocations: 1.544 MB / 422.7 MB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.1101, allocations: 16 kB / 422.7 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.1101, allocations: 0 / 422.7 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.1102, allocations: 7.984 kB / 422.7 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.1152, allocations: 2.485 MB / 425.2 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1152, allocations: 0 / 425.2 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.1158, allocations: 143.8 kB / 425.3 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/0.1175, allocations: 0.5194 MB / 425.9 MB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.1175, allocations: 24 kB / 425.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003267/0.1179, allocations: 72.73 kB / 425.9 MB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.1179, allocations: 4 kB / 426 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.1226, allocations: 2.357 MB / 428.3 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005586/0.1231, allocations: 207.1 kB / 428.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.1233, allocations: 28 kB / 428.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.1239, allocations: 48.03 kB / 428.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.1241, allocations: 81.16 kB / 428.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.1242, allocations: 35.98 kB / 428.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006565/0.1248, allocations: 271.1 kB / 429 MB, free: 14.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1248, allocations: 4 kB / 429 MB, free: 14.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/0.1259, allocations: 355.2 kB / 429.3 MB, free: 14.14 MB / 410.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.0003691/0.1263, allocations: 167 kB / 429.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.1295, allocations: 1.278 MB / 430.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1295, allocations: 3.938 kB / 430.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.1314, allocations: 0.6817 MB / 431.4 MB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007577/0.1321, allocations: 117.9 kB / 431.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.1361, allocations: 2.079 MB / 433.6 MB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.1366, allocations: 454.3 kB / 434.1 MB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004354/0.1371, allocations: 102.5 kB / 434.2 MB, free: 9.191 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.1373, allocations: 72.47 kB / 434.3 MB, free: 9.121 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1373, allocations: 0 / 434.3 MB, free: 9.121 MB / 410.7 MB Notification: Performance of Templates: time 0.1696/0.3068, allocations: 12.25 MB / 446.5 MB, free: 100.7 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.841639099060558]