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.001061/0.001061, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001153/0.001153, allocations: 161 kB / 24.56 MB, free: 16 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 0.9991/0.9991, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2896/0.2896, allocations: 34.25 MB / 295.7 MB, free: 0.6953 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 3.226e-06/3.226e-06, allocations: 4 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/3.014e-05, allocations: 2.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009666/0.009697, allocations: 7.541 MB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.01527, allocations: 2.349 MB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.01634, allocations: 31.88 kB / 388 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.01956, allocations: 1.925 MB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.02193, allocations: 0.722 MB / 390.6 MB, free: 6.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.02389, allocations: 1.044 MB / 391.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.02596, allocations: 1.459 MB / 393.1 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.02766, allocations: 0.9183 MB / 394 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.0292, allocations: 0.8653 MB / 394.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.0303, allocations: 0.5726 MB / 395.5 MB, free: 1.117 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004484/0.03075, allocations: 112 kB / 395.6 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.03176, allocations: 327.5 kB / 395.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.03203, allocations: 298.8 kB / 396.2 MB, free: 404 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007244/0.03276, allocations: 466.8 kB / 396.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.03481, allocations: 1.234 MB / 397.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.03481, allocations: 0 / 397.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03481, allocations: 0 / 397.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.832e-05/0.03487, allocations: 4 kB / 397.9 MB, free: 14.7 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.005025/0.0399, allocations: 2.466 MB / 400.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.03995, allocations: 8.031 kB / 400.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.045, allocations: 1.651 MB / 402 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.04597, allocations: 0.5484 MB / 402.5 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.04603, allocations: 99.02 kB / 402.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.04618, allocations: 136.3 kB / 402.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.04779, allocations: 1.254 MB / 404 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.04783, allocations: 8.188 kB / 404 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.04792, allocations: 55.94 kB / 404.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.04795, allocations: 39.98 kB / 404.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.04921, allocations: 0.8691 MB / 405 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.0547, allocations: 4.341 MB / 409.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.05588, allocations: 0.9679 MB / 410.3 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.05634, allocations: 389.1 kB / 410.7 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.05645, allocations: 40.97 kB / 410.7 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.05648, allocations: 54.33 kB / 410.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 4.288e-06/0.05649, allocations: 0 / 410.8 MB, free: 1.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.004811/0.0613, allocations: 2.45 MB / 413.2 MB, free: 14.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.06135, allocations: 90.11 kB / 413.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.06171, allocations: 466.4 kB / 413.8 MB, free: 14.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.529e-05/0.06177, allocations: 49.7 kB / 413.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.06231, allocations: 0.5114 MB / 414.3 MB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.06256, allocations: 452.1 kB / 414.8 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.0628, allocations: 236.5 kB / 415 MB, free: 13.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.06297, allocations: 0.5508 MB / 415.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.06334, allocations: 254.5 kB / 415.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.06389, allocations: 0.5978 MB / 416.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.0649, allocations: 0.9161 MB / 417.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.0649, allocations: 4 kB / 417.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001621/0.06653, allocations: 1.175 MB / 418.5 MB, free: 9.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.06655, allocations: 13.55 kB / 418.5 MB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.06656, allocations: 12.03 kB / 418.5 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008587/0.06742, allocations: 424.9 kB / 418.9 MB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.06785, allocations: 199.7 kB / 419.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/0.06797, allocations: 56.14 kB / 419.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.06834, allocations: 115.1 kB / 419.3 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.06842, allocations: 51.98 kB / 419.4 MB, free: 8.516 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.0003219/0.06875, allocations: 232.2 kB / 419.6 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.06889, allocations: 115.5 kB / 419.7 MB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.0704, allocations: 1.135 MB / 420.8 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.07042, allocations: 12 kB / 420.8 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.07042, allocations: 3.938 kB / 420.8 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003682/0.07079, allocations: 7.984 kB / 420.9 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.07348, allocations: 2.076 MB / 422.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.07349, allocations: 0 / 422.9 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.07382, allocations: 139.8 kB / 423.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007565/0.07458, allocations: 422.7 kB / 423.5 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.07464, allocations: 27.98 kB / 423.5 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001515/0.07479, allocations: 71.62 kB / 423.6 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.0748, allocations: 0 / 423.6 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.07685, allocations: 1.659 MB / 425.2 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.07717, allocations: 207.1 kB / 425.4 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.07725, allocations: 20 kB / 425.5 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.07752, allocations: 39.98 kB / 425.5 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.07765, allocations: 89.08 kB / 425.6 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.0777, allocations: 32 kB / 425.6 MB, free: 2.137 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.0779, allocations: 295 kB / 425.9 MB, free: 1.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0779, allocations: 0 / 425.9 MB, free: 1.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007539/0.07866, allocations: 355.2 kB / 426.2 MB, free: 1.5 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.0002897/0.07895, allocations: 167 kB / 426.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.0804, allocations: 0.9597 MB / 427.4 MB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.08041, allocations: 4 kB / 427.4 MB, free: 372 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.08122, allocations: 0.559 MB / 427.9 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.08217, allocations: 121.9 kB / 428.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.08487, allocations: 1.904 MB / 430 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.08501, allocations: 199.2 kB / 430.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.08526, allocations: 106.4 kB / 430.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.0854, allocations: 68.48 kB / 430.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.0854, allocations: 0 / 430.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of Templates: time 0.01754/0.1029, allocations: 13.32 MB / 443.6 MB, free: 176 kB / 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] 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","",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.721175306942314]