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.001936/0.001936, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002441/0.002441, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.2586/0.2586, allocations: 46.95 MB / 360.8 MB, free: 3.934 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.002509/0.002509, allocations: 75.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3151, allocations: 66.09 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008577/0.3237, allocations: 5.782 MB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004947/0.3286, allocations: 2.138 MB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.3292, allocations: 20 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.3327, allocations: 1.403 MB / 0.5698 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.3348, allocations: 0.6987 MB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3362, allocations: 0.57 MB / 0.5711 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3377, allocations: 1.174 MB / 0.5722 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.3391, allocations: 0.8519 MB / 0.573 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007592/0.3399, allocations: 0.5138 MB / 0.5735 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.3405, allocations: 0.5521 MB / 0.5741 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.3407, allocations: 104 kB / 0.5742 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.3413, allocations: 279.8 kB / 0.5744 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3415, allocations: 263 kB / 0.5747 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.3419, allocations: 461.8 kB / 0.5751 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3436, allocations: 1.537 MB / 0.5766 GB, free: 3.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3436, allocations: 0 / 0.5766 GB, free: 3.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3436, allocations: 0 / 0.5766 GB, free: 3.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3436, allocations: 0 / 0.5766 GB, free: 3.609 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.004182/0.3478, allocations: 1.609 MB / 0.5782 GB, free: 1.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3479, allocations: 12.03 kB / 0.5782 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.3481, allocations: 179.9 kB / 0.5784 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.3564, allocations: 1.128 MB / 0.5795 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.3576, allocations: 492.3 kB / 0.58 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.3577, allocations: 86.73 kB / 0.58 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.358, allocations: 120.4 kB / 0.5802 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.361, allocations: 1.464 MB / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.476e-05/0.361, allocations: 0 / 0.5816 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.3611, allocations: 51.94 kB / 0.5816 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.3612, allocations: 32 kB / 0.5817 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/0.3642, allocations: 1.425 MB / 0.5831 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007551/0.3718, allocations: 3.722 MB / 0.5867 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.3748, allocations: 0.9975 MB / 0.5877 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009601/0.3757, allocations: 388.9 kB / 0.588 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.3759, allocations: 31.91 kB / 0.5881 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.3759, allocations: 54.47 kB / 0.5881 GB, free: 7.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.168e-06/0.3759, allocations: 0 / 0.5881 GB, free: 7.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003399/0.3793, allocations: 1.169 MB / 0.5893 GB, free: 6.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.3795, allocations: 255.2 kB / 0.5895 GB, free: 6.008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.3803, allocations: 0.5721 MB / 0.5901 GB, free: 5.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.3804, allocations: 41.7 kB / 0.5901 GB, free: 5.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.3808, allocations: 484.1 kB / 0.5906 GB, free: 4.898 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.3812, allocations: 305.4 kB / 0.5909 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.3815, allocations: 194.9 kB / 0.591 GB, free: 4.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002619/0.3818, allocations: 382.8 kB / 0.5914 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009975/0.3828, allocations: 374.4 kB / 0.5918 GB, free: 3.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3841, allocations: 0.7221 MB / 0.5925 GB, free: 2.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.3862, allocations: 1.054 MB / 0.5935 GB, free: 1.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.3862, allocations: 8 kB / 0.5935 GB, free: 1.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002772/0.389, allocations: 1.196 MB / 0.5947 GB, free: 416 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.389, allocations: 11.94 kB / 0.5947 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.389, allocations: 8 kB / 0.5947 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/0.3892, allocations: 36.84 kB / 0.5947 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3904, allocations: 292.1 kB / 0.595 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.3904, allocations: 23.92 kB / 0.595 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009612/0.3914, allocations: 155 kB / 0.5952 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.113e-05/0.3915, allocations: 47.98 kB / 0.5952 GB, free: 15.84 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.0004503/0.3919, allocations: 253.5 kB / 0.5955 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.3922, allocations: 79.45 kB / 0.5955 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.3947, allocations: 1.028 MB / 0.5965 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.3947, allocations: 16 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.3947, allocations: 4 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.3947, allocations: 3.984 kB / 0.5966 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/0.3992, allocations: 2.138 MB / 0.5987 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3992, allocations: 7.984 kB / 0.5987 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.4001, allocations: 215.7 kB / 0.5989 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.4002, allocations: 28.84 kB / 0.5989 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.4003, allocations: 23.98 kB / 0.5989 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.4003, allocations: 4 kB / 0.5989 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4003, allocations: 7.938 kB / 0.5989 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/0.4036, allocations: 1.834 MB / 0.6007 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4038, allocations: 87.31 kB / 0.6008 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.404, allocations: 24 kB / 0.6008 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.4048, allocations: 63.92 kB / 0.6009 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.405, allocations: 71.81 kB / 0.601 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/0.4051, allocations: 31.98 kB / 0.601 GB, free: 9.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005305/0.4056, allocations: 398.8 kB / 0.6014 GB, free: 9.453 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4056, allocations: 0 / 0.6014 GB, free: 9.453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4067, allocations: 295.4 kB / 0.6016 GB, free: 9.164 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.003938/0.4107, allocations: 2.444 MB / 0.604 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.4131, allocations: 0.9123 MB / 0.6049 GB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4131, allocations: 0 / 0.6049 GB, free: 5.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.4142, allocations: 439.2 kB / 0.6053 GB, free: 5.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4152, allocations: 106.8 kB / 0.6054 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.4289, allocations: 7.875 MB / 0.6131 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.4294, allocations: 398 kB / 0.6135 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000563/0.43, allocations: 138.2 kB / 0.6136 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.4305, allocations: 367.3 kB / 0.614 GB, free: 12.09 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4305, allocations: 4 kB / 0.614 GB, free: 12.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.4852, allocations: 18.9 MB / 0.6325 GB, free: 9.383 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.79, allocations: 8.062 kB / 0.6325 GB, free: 9.375 MB / 478.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.868468279018998]