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.001608/0.001608, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002896/0.002896, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.491/1.491, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.247/0.247, allocations: 46.95 MB / 361.6 MB, free: 3.906 MB / 286.1 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 0.002673/0.002673, allocations: 95.72 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3444, allocations: 66.08 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009646/0.354, allocations: 6.801 MB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.3594, allocations: 2.295 MB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008585/0.3602, allocations: 27.94 kB / 0.5708 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.3647, allocations: 1.691 MB / 0.5725 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.3671, allocations: 0.7105 MB / 0.5732 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.3698, allocations: 1.034 MB / 0.5742 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.372, allocations: 1.416 MB / 0.5756 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.3736, allocations: 0.9067 MB / 0.5764 GB, free: 5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.3746, allocations: 0.6189 MB / 0.577 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.3754, allocations: 0.6456 MB / 0.5777 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.3756, allocations: 116 kB / 0.5778 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.3764, allocations: 323.8 kB / 0.5781 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.3767, allocations: 298.9 kB / 0.5784 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.3772, allocations: 0.5326 MB / 0.5789 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.3795, allocations: 1.789 MB / 0.5807 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3795, allocations: 0 / 0.5807 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3795, allocations: 0 / 0.5807 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.3795, allocations: 0 / 0.5807 GB, free: 0.6797 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007738/0.3873, allocations: 2.338 MB / 0.5829 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3873, allocations: 12.02 kB / 0.5829 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/0.3972, allocations: 1.331 MB / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.3986, allocations: 0.5606 MB / 0.5848 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.887e-05/0.3987, allocations: 99.02 kB / 0.5849 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002307/0.3989, allocations: 128.4 kB / 0.585 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.4019, allocations: 1.595 MB / 0.5866 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.4019, allocations: 7.953 kB / 0.5866 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.4021, allocations: 48 kB / 0.5866 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.4021, allocations: 40 kB / 0.5867 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.4049, allocations: 1.505 MB / 0.5881 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008048/0.413, allocations: 4.278 MB / 0.5923 GB, free: 4.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.4151, allocations: 1.072 MB / 0.5934 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009965/0.4161, allocations: 0.5499 MB / 0.5939 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.4162, allocations: 36.97 kB / 0.5939 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.4162, allocations: 47.55 kB / 0.594 GB, free: 2.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/0.4162, allocations: 7.938 kB / 0.594 GB, free: 2.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009204/0.4255, allocations: 2.99 MB / 0.5969 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.4255, allocations: 90.11 kB / 0.597 GB, free: 15.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.4261, allocations: 421.7 kB / 0.5974 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.4261, allocations: 45.7 kB / 0.5974 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.4265, allocations: 488.7 kB / 0.5979 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/0.4269, allocations: 440.2 kB / 0.5983 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.4272, allocations: 222.9 kB / 0.5985 GB, free: 14.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.4275, allocations: 382.7 kB / 0.5989 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.4284, allocations: 458.4 kB / 0.5993 GB, free: 13.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.4295, allocations: 0.6918 MB / 0.6 GB, free: 12.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.4317, allocations: 1.209 MB / 0.6012 GB, free: 11.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.4317, allocations: 4 kB / 0.6012 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003192/0.4349, allocations: 1.574 MB / 0.6027 GB, free: 9.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4349, allocations: 8 kB / 0.6027 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4349, allocations: 8 kB / 0.6027 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/0.4366, allocations: 0.5242 MB / 0.6033 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000782/0.4374, allocations: 199.7 kB / 0.6034 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001977/0.4376, allocations: 49.2 kB / 0.6035 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006825/0.4383, allocations: 119.2 kB / 0.6036 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.4384, allocations: 55.92 kB / 0.6037 GB, free: 8.551 MB / 446.1 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.0005024/0.4389, allocations: 272.9 kB / 0.6039 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4391, allocations: 83.48 kB / 0.604 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.4421, allocations: 1.54 MB / 0.6055 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.4421, allocations: 16 kB / 0.6055 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.4421, allocations: 3.938 kB / 0.6055 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4421, allocations: 3.984 kB / 0.6055 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.4468, allocations: 2.485 MB / 0.608 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4469, allocations: 0 / 0.608 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.4475, allocations: 147.8 kB / 0.6081 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.449, allocations: 0.5184 MB / 0.6086 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.4491, allocations: 28 kB / 0.6086 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003157/0.4494, allocations: 72.72 kB / 0.6087 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4494, allocations: 4 kB / 0.6087 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/0.4536, allocations: 2.314 MB / 0.611 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.4542, allocations: 199.1 kB / 0.6111 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.4543, allocations: 20 kB / 0.6112 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.4549, allocations: 52.03 kB / 0.6112 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.4551, allocations: 85.03 kB / 0.6113 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.484e-05/0.4552, allocations: 39.98 kB / 0.6113 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.4556, allocations: 271.2 kB / 0.6116 GB, free: 340 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4556, allocations: 3.938 kB / 0.6116 GB, free: 336 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001083/0.4566, allocations: 355.2 kB / 0.6119 GB, free: 15.98 MB / 462.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 (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.0003411/0.457, allocations: 159 kB / 0.6121 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.46, allocations: 1.277 MB / 0.6133 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.46, allocations: 3.938 kB / 0.6133 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.4618, allocations: 0.6801 MB / 0.614 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.4625, allocations: 93.94 kB / 0.6141 GB, free: 13.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.4665, allocations: 2.133 MB / 0.6162 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.467, allocations: 454.3 kB / 0.6166 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.4673, allocations: 75.41 kB / 0.6167 GB, free: 11.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4673, allocations: 3.938 kB / 0.6167 GB, free: 11.03 MB / 462.1 MB Notification: Performance of Templates: time 0.02564/0.493, allocations: 17.22 MB / 0.6335 GB, free: 9.797 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.82260562106967]