Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.001822/0.001822, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00236/0.00236, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 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.2224/0.2224, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 67.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 66.03 MB / 0.5606 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008773/0.3223, allocations: 6.604 MB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00448/0.3267, allocations: 2.286 MB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.3273, allocations: 23.94 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.3309, allocations: 1.524 MB / 0.5708 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.333, allocations: 0.7147 MB / 0.5715 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.3343, allocations: 0.5935 MB / 0.5721 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.3359, allocations: 1.178 MB / 0.5733 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.3372, allocations: 0.8675 MB / 0.5741 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.3379, allocations: 0.5099 MB / 0.5746 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007427/0.3387, allocations: 0.6225 MB / 0.5752 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.3389, allocations: 104 kB / 0.5753 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006323/0.3395, allocations: 295.8 kB / 0.5756 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.3397, allocations: 263 kB / 0.5759 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005157/0.3402, allocations: 0.5481 MB / 0.5764 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.342, allocations: 1.521 MB / 0.5779 GB, free: 2.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.342, allocations: 3.938 kB / 0.5779 GB, free: 2.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.342, allocations: 0 / 0.5779 GB, free: 2.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.342, allocations: 0 / 0.5779 GB, free: 2.711 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004329/0.3464, allocations: 1.616 MB / 0.5795 GB, free: 1.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3464, allocations: 12.03 kB / 0.5795 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002882/0.3467, allocations: 183.9 kB / 0.5796 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008135/0.3548, allocations: 1.12 MB / 0.5807 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.356, allocations: 0.4885 MB / 0.5812 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.3561, allocations: 90.73 kB / 0.5813 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.3563, allocations: 116.3 kB / 0.5814 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.3589, allocations: 1.36 MB / 0.5827 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.3589, allocations: 7.984 kB / 0.5827 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.359, allocations: 52 kB / 0.5828 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.3591, allocations: 28 kB / 0.5828 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.3621, allocations: 1.429 MB / 0.5842 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007693/0.3698, allocations: 4.057 MB / 0.5882 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.3727, allocations: 1.015 MB / 0.5892 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008851/0.3735, allocations: 391.7 kB / 0.5895 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3737, allocations: 40.09 kB / 0.5896 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.3737, allocations: 46.5 kB / 0.5896 GB, free: 6.344 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/0.3737, allocations: 0 / 0.5896 GB, free: 6.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003231/0.377, allocations: 1.179 MB / 0.5908 GB, free: 5.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.3771, allocations: 243.3 kB / 0.591 GB, free: 4.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.3779, allocations: 0.5567 MB / 0.5916 GB, free: 4.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.3779, allocations: 41.7 kB / 0.5916 GB, free: 4.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.3783, allocations: 484 kB / 0.5921 GB, free: 3.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.3786, allocations: 309.4 kB / 0.5924 GB, free: 3.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.3789, allocations: 194.8 kB / 0.5925 GB, free: 3.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.3791, allocations: 382.7 kB / 0.5929 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.38, allocations: 378.4 kB / 0.5933 GB, free: 2.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.3812, allocations: 0.6642 MB / 0.5939 GB, free: 1.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.3832, allocations: 1.062 MB / 0.5949 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3833, allocations: 3.938 kB / 0.595 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002675/0.3859, allocations: 1.199 MB / 0.5961 GB, free: 15.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.386, allocations: 11.94 kB / 0.5961 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.386, allocations: 12 kB / 0.5961 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001642/0.3861, allocations: 36.78 kB / 0.5962 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.3873, allocations: 296.1 kB / 0.5965 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.3873, allocations: 12 kB / 0.5965 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.3883, allocations: 155 kB / 0.5966 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.3884, allocations: 55.97 kB / 0.5967 GB, free: 14.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004367/0.3888, allocations: 253.5 kB / 0.5969 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.389, allocations: 79.45 kB / 0.597 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.3915, allocations: 1.027 MB / 0.598 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3915, allocations: 12 kB / 0.598 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.3916, allocations: 4 kB / 0.598 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.3916, allocations: 11.97 kB / 0.598 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.3963, allocations: 2.286 MB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3963, allocations: 4 kB / 0.6003 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.3973, allocations: 219.7 kB / 0.6005 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.3974, allocations: 24.84 kB / 0.6005 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.3975, allocations: 23.98 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.3975, allocations: 7.984 kB / 0.6005 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3975, allocations: 4 kB / 0.6005 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/0.4008, allocations: 1.837 MB / 0.6023 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.401, allocations: 87.38 kB / 0.6024 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4011, allocations: 16 kB / 0.6024 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.4019, allocations: 63.94 kB / 0.6025 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.402, allocations: 79.8 kB / 0.6026 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.4021, allocations: 31.98 kB / 0.6026 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.4026, allocations: 394.8 kB / 0.603 GB, free: 8.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4026, allocations: 0 / 0.603 GB, free: 8.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4038, allocations: 303.3 kB / 0.6033 GB, free: 7.953 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_p.reference.gamma,currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003931/0.4077, allocations: 2.429 MB / 0.6056 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.41, allocations: 0.9126 MB / 0.6065 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.41, allocations: 4 kB / 0.6065 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.411, allocations: 433.8 kB / 0.6069 GB, free: 4.145 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.412, allocations: 114.3 kB / 0.607 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.425, allocations: 7.877 MB / 0.6147 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.4257, allocations: 0.9879 MB / 0.6157 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005552/0.4263, allocations: 134.2 kB / 0.6158 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.4269, allocations: 371.3 kB / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4269, allocations: 0 / 0.6162 GB, free: 10.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/0.4996, allocations: 18.35 MB / 0.6341 GB, free: 8.094 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.17, allocations: 12 kB / 0.6341 GB, free: 8.082 MB / 478.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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: 16.337829544907436]