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.001013/0.001013, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001026/0.001026, allocations: 160.5 kB / 24.55 MB, free: 20 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.9764/0.9764, allocations: 177 MB / 204.8 MB, free: 5.582 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.2582/0.2582, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.243e-06/1.243e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.669e-05, allocations: 4.984 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006052/0.006069, allocations: 7.53 MB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.008797, allocations: 2.365 MB / 388.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.009086, allocations: 27.94 kB / 388.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.01104, allocations: 1.913 MB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.012, allocations: 0.7181 MB / 391.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.01323, allocations: 1.055 MB / 392.4 MB, free: 4.426 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.01431, allocations: 1.455 MB / 393.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/0.01526, allocations: 0.9183 MB / 394.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.01595, allocations: 0.8575 MB / 395.6 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.01643, allocations: 0.5765 MB / 396.2 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.01656, allocations: 112 kB / 396.3 MB, free: 484 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.01702, allocations: 327.6 kB / 396.6 MB, free: 156 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.01718, allocations: 302.8 kB / 396.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.01749, allocations: 462.8 kB / 397.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.01856, allocations: 1.237 MB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.01856, allocations: 3.984 kB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01856, allocations: 0 / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.01857, allocations: 0 / 398.6 MB, free: 14.16 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.003792/0.02237, allocations: 2.459 MB / 401 MB, free: 11.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.0224, allocations: 12.03 kB / 401.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.02722, allocations: 1.65 MB / 402.7 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.02783, allocations: 0.5665 MB / 403.3 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.02788, allocations: 99.02 kB / 403.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.02803, allocations: 136.3 kB / 403.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.02941, allocations: 1.258 MB / 404.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.02944, allocations: 12.11 kB / 404.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.02954, allocations: 55.94 kB / 404.8 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.02956, allocations: 39.98 kB / 404.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.03071, allocations: 0.8653 MB / 405.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004215/0.03492, allocations: 4.345 MB / 410.1 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.03598, allocations: 0.9708 MB / 411.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.03641, allocations: 385.1 kB / 411.4 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.545e-05/0.0365, allocations: 44.97 kB / 411.5 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.03653, allocations: 46.39 kB / 411.5 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.495e-06/0.03653, allocations: 0 / 411.5 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.00461/0.04114, allocations: 2.446 MB / 414 MB, free: 14.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.04118, allocations: 94.11 kB / 414.1 MB, free: 14.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.0415, allocations: 462.4 kB / 414.5 MB, free: 13.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.04155, allocations: 45.7 kB / 414.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.04176, allocations: 0.523 MB / 415.1 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.04199, allocations: 444.2 kB / 415.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.04222, allocations: 240.5 kB / 415.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.04237, allocations: 0.5547 MB / 416.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.04275, allocations: 250.5 kB / 416.5 MB, free: 11.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005143/0.04327, allocations: 0.5978 MB / 417.1 MB, free: 11.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/0.04425, allocations: 0.92 MB / 418.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.04426, allocations: 0 / 418.1 MB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001476/0.04573, allocations: 1.183 MB / 419.2 MB, free: 8.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.04575, allocations: 8 kB / 419.2 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.04577, allocations: 8 kB / 419.3 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/0.04658, allocations: 425.2 kB / 419.7 MB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.04698, allocations: 199.7 kB / 419.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/0.04708, allocations: 60.14 kB / 419.9 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.04737, allocations: 115.1 kB / 420 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.04743, allocations: 55.92 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.0002048/0.04763, allocations: 232.3 kB / 420.3 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.04776, allocations: 115.5 kB / 420.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.04921, allocations: 1.135 MB / 421.6 MB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.04922, allocations: 16 kB / 421.6 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.04922, allocations: 0 / 421.6 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.04923, allocations: 3.984 kB / 421.6 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.05148, allocations: 2.072 MB / 423.7 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.05148, allocations: 4 kB / 423.7 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.0518, allocations: 139.8 kB / 423.8 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007177/0.05252, allocations: 418.7 kB / 424.2 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.05257, allocations: 31.98 kB / 424.2 MB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000144/0.05271, allocations: 71.62 kB / 424.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.05271, allocations: 0 / 424.3 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.05456, allocations: 1.659 MB / 426 MB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.05481, allocations: 199.1 kB / 426.2 MB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.05487, allocations: 24 kB / 426.2 MB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.05513, allocations: 43.98 kB / 426.2 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.05524, allocations: 85.17 kB / 426.3 MB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.05528, allocations: 36 kB / 426.3 MB, free: 1.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.05546, allocations: 290.9 kB / 426.6 MB, free: 1.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05546, allocations: 0 / 426.6 MB, free: 1.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005275/0.05598, allocations: 355.2 kB / 427 MB, free: 0.957 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.0002173/0.0562, allocations: 167 kB / 427.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.05754, allocations: 0.9629 MB / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.05755, allocations: 0 / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.05832, allocations: 0.5636 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.0005009/0.05882, allocations: 125.8 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.002283/0.06111, allocations: 1.909 MB / 430.7 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.06123, allocations: 199.2 kB / 430.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.06146, allocations: 102.4 kB / 431 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.0616, allocations: 68.48 kB / 431.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0616, allocations: 0 / 431.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of Templates: time 0.01378/0.07538, allocations: 12.32 MB / 443.4 MB, free: 0.5938 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.624525411054492]