Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.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.002077/0.002077, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.002589/0.002589, allocations: 212.5 kB / 23.74 MB, free: 4.695 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.496/1.496, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2283/0.2283, allocations: 46.93 MB / 360.8 MB, free: 4.191 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 83.86 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3277, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008385/0.336, allocations: 6.592 MB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.3404, allocations: 2.29 MB / 0.5694 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005309/0.3409, allocations: 16 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004029/0.345, allocations: 1.524 MB / 0.5709 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.3469, allocations: 0.7219 MB / 0.5716 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3482, allocations: 0.6047 MB / 0.5722 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3496, allocations: 1.174 MB / 0.5734 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.3509, allocations: 0.8636 MB / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.3516, allocations: 0.5176 MB / 0.5747 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.3523, allocations: 0.6108 MB / 0.5753 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.3525, allocations: 107.9 kB / 0.5754 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.3531, allocations: 295.8 kB / 0.5757 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.3533, allocations: 259 kB / 0.5759 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005246/0.3538, allocations: 0.5559 MB / 0.5765 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.3556, allocations: 1.521 MB / 0.578 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3556, allocations: 4 kB / 0.578 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3556, allocations: 0 / 0.578 GB, free: 2.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.3556, allocations: 0 / 0.578 GB, free: 2.566 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.004347/0.3599, allocations: 1.612 MB / 0.5795 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.36, allocations: 12.03 kB / 0.5795 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.3602, allocations: 183.9 kB / 0.5797 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/0.3686, allocations: 1.124 MB / 0.5808 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3698, allocations: 488.3 kB / 0.5813 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.3698, allocations: 86.73 kB / 0.5814 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.37, allocations: 124.3 kB / 0.5815 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.3727, allocations: 1.356 MB / 0.5828 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.3727, allocations: 4 kB / 0.5828 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3728, allocations: 48 kB / 0.5829 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3728, allocations: 36 kB / 0.5829 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.3758, allocations: 1.44 MB / 0.5843 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007682/0.3835, allocations: 4.05 MB / 0.5883 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/0.3865, allocations: 1.025 MB / 0.5893 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/0.3873, allocations: 388.8 kB / 0.5896 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.3875, allocations: 40.09 kB / 0.5897 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3875, allocations: 38.56 kB / 0.5897 GB, free: 6.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.564e-06/0.3875, allocations: 0 / 0.5897 GB, free: 6.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00329/0.3908, allocations: 1.184 MB / 0.5909 GB, free: 5.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.391, allocations: 247.2 kB / 0.5911 GB, free: 4.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000821/0.3918, allocations: 0.5645 MB / 0.5916 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.781e-05/0.3919, allocations: 37.7 kB / 0.5917 GB, free: 4.102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.3923, allocations: 476 kB / 0.5921 GB, free: 3.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.3926, allocations: 309.4 kB / 0.5924 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003372/0.3929, allocations: 202.8 kB / 0.5926 GB, free: 3.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.3931, allocations: 374.8 kB / 0.593 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009269/0.3941, allocations: 382.4 kB / 0.5933 GB, free: 2.371 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.3953, allocations: 0.6603 MB / 0.594 GB, free: 1.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.3973, allocations: 1.058 MB / 0.595 GB, free: 420 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.3973, allocations: 4 kB / 0.595 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002911/0.4002, allocations: 1.196 MB / 0.5962 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.4003, allocations: 12.69 kB / 0.5962 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.4003, allocations: 8 kB / 0.5962 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/0.4005, allocations: 44.84 kB / 0.5963 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.4017, allocations: 283.6 kB / 0.5965 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.845e-05/0.4017, allocations: 19.92 kB / 0.5966 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.4027, allocations: 159 kB / 0.5967 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.4028, allocations: 51.98 kB / 0.5968 GB, free: 14.63 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.000559/0.4033, allocations: 254.8 kB / 0.597 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4036, allocations: 75.52 kB / 0.5971 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.4061, allocations: 1.028 MB / 0.5981 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.4061, allocations: 12 kB / 0.5981 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.4061, allocations: 4 kB / 0.5981 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.4061, allocations: 3.984 kB / 0.5981 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.4109, allocations: 2.294 MB / 0.6003 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.4109, allocations: 4 kB / 0.6003 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4119, allocations: 219.7 kB / 0.6005 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.412, allocations: 32.78 kB / 0.6006 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.4121, allocations: 23.98 kB / 0.6006 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.4121, allocations: 7.938 kB / 0.6006 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4121, allocations: 7.984 kB / 0.6006 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.4155, allocations: 1.838 MB / 0.6024 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.4157, allocations: 91.36 kB / 0.6025 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4159, allocations: 20 kB / 0.6025 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.4167, allocations: 63.94 kB / 0.6026 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.4169, allocations: 71.8 kB / 0.6026 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.417, allocations: 35.98 kB / 0.6027 GB, free: 8.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005372/0.4175, allocations: 398.8 kB / 0.6031 GB, free: 8.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4175, allocations: 0 / 0.6031 GB, free: 8.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001148/0.4186, allocations: 295.3 kB / 0.6033 GB, free: 7.785 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.003843/0.4225, allocations: 2.437 MB / 0.6057 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.4248, allocations: 0.9047 MB / 0.6066 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4248, allocations: 3.984 kB / 0.6066 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.4259, allocations: 439.4 kB / 0.607 GB, free: 3.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4269, allocations: 98.75 kB / 0.6071 GB, free: 3.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.4444, allocations: 7.878 MB / 0.6148 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.4455, allocations: 0.9802 MB / 0.6158 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008232/0.4463, allocations: 138.2 kB / 0.6159 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008299/0.4471, allocations: 375.3 kB / 0.6163 GB, free: 10.13 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4471, allocations: 0 / 0.6163 GB, free: 10.13 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07291/0.52, allocations: 18.36 MB / 0.6342 GB, free: 7.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.7, allocations: 11.2 kB / 0.6342 GB, free: 7.898 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 17.028340542921796]