Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 116 kB / 18.45 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 194.9 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 231.8 MB, free: 3.98 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09876/0.1005, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.00581/0.1063, allocations: 3.76 MB / 395.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.1091, allocations: 1.472 MB / 396.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.1093, allocations: 12 kB / 396.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1112, allocations: 0.7739 MB / 397.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.1125, allocations: 0.5636 MB / 398 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.1134, allocations: 434.5 kB / 398.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005607/0.1139, allocations: 485.8 kB / 398.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.1145, allocations: 294 kB / 399.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.1148, allocations: 219.1 kB / 399.4 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.1152, allocations: 286.9 kB / 399.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.1152, allocations: 44 kB / 399.7 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1156, allocations: 207.9 kB / 399.9 MB, free: 192 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.1157, allocations: 119.5 kB / 400 MB, free: 72 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.116, allocations: 242.9 kB / 400.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008864/0.1169, allocations: 0.7042 MB / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1169, allocations: 0 / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1169, allocations: 0 / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1169, allocations: 0 / 400.9 MB, free: 15.12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002252/0.1191, allocations: 0.951 MB / 401.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1192, allocations: 8.031 kB / 401.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.1193, allocations: 104 kB / 402 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.1235, allocations: 0.586 MB / 402.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.124, allocations: 323.6 kB / 402.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.909e-05/0.1241, allocations: 41.69 kB / 402.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1242, allocations: 64.08 kB / 403 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1252, allocations: 0.557 MB / 403.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1252, allocations: 0 / 403.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.1253, allocations: 24 kB / 403.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.1253, allocations: 16 kB / 403.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1266, allocations: 0.6414 MB / 404.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003269/0.1298, allocations: 2.038 MB / 406.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.1328, allocations: 2.965 MB / 409.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.1331, allocations: 194 kB / 409.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.952e-05/0.1332, allocations: 89.55 kB / 409.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.1333, allocations: 38.92 kB / 409.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.355e-06/0.1333, allocations: 0 / 409.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001979/0.1353, allocations: 0.7934 MB / 410.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.1353, allocations: 59.84 kB / 410.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.1356, allocations: 205 kB / 410.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.1356, allocations: 37.7 kB / 410.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1358, allocations: 240.8 kB / 410.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.1359, allocations: 182.5 kB / 411.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1361, allocations: 98.2 kB / 411.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1363, allocations: 334.8 kB / 411.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1366, allocations: 161 kB / 411.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.137, allocations: 274 kB / 411.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.1378, allocations: 468.4 kB / 412.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1378, allocations: 4 kB / 412.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001106/0.1389, allocations: 0.5747 MB / 412.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1389, allocations: 11.91 kB / 413 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1389, allocations: 4 kB / 413 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.1393, allocations: 96.89 kB / 413.1 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.1397, allocations: 103.8 kB / 413.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.1422, allocations: 2.053 MB / 415.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1425, allocations: 51.62 kB / 415.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.1426, allocations: 28.05 kB / 415.3 MB, free: 15.62 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.1428, allocations: 173.7 kB / 415.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.1429, allocations: 31.98 kB / 415.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.144, allocations: 0.5511 MB / 416 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.144, allocations: 11.94 kB / 416.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.144, allocations: 0 / 416.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.144, allocations: 0 / 416.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.1458, allocations: 1.143 MB / 417.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1458, allocations: 0 / 417.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1462, allocations: 75.89 kB / 417.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.1464, allocations: 88.81 kB / 417.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1465, allocations: 8 kB / 417.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.1486, allocations: 2.039 MB / 419.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1486, allocations: 0 / 419.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1499, allocations: 0.7972 MB / 420.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.15, allocations: 116.8 kB / 420.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.15, allocations: 11.94 kB / 420.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1503, allocations: 28.05 kB / 420.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.1504, allocations: 44.27 kB / 420.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.1504, allocations: 12 kB / 420.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1505, allocations: 147.1 kB / 420.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 0 / 420.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000612/0.1511, allocations: 155.7 kB / 420.7 MB, free: 9.949 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (44): * Single equations (assignments): 43 * 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): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00185/0.153, allocations: 1.38 MB / 422.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.1541, allocations: 0.5658 MB / 422.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1541, allocations: 0 / 422.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.1547, allocations: 361.8 kB / 423 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1551, allocations: 35.88 kB / 423 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/0.1606, allocations: 3.623 MB / 426.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005663/0.1612, allocations: 0.8133 MB / 427.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.1614, allocations: 55.25 kB / 427.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.1616, allocations: 147.4 kB / 427.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1616, allocations: 0 / 427.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.2001, allocations: 7.97 MB / 435.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.53, allocations: 15.78 kB / 435.7 MB, free: 10.68 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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: 12.870931393001229]