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.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.001309/0.001309, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001367/0.001367, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.381/1.381, allocations: 207.6 MB / 232.5 MB, free: 3.738 MB / 174.1 MB " [Timeout remaining time 179] 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.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(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 56.39 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09501, allocations: 49.13 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005193/0.1002, allocations: 3.758 MB / 395.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1027, allocations: 1.484 MB / 397.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1029, allocations: 12 kB / 397.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.1046, allocations: 0.774 MB / 398.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008894/0.1055, allocations: 402 kB / 398.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1066, allocations: 0.5527 MB / 399.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.1071, allocations: 497.8 kB / 399.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.1076, allocations: 294 kB / 399.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.1079, allocations: 227.1 kB / 400.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.1082, allocations: 278.9 kB / 400.4 MB, free: 404 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.1083, allocations: 44 kB / 400.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.1087, allocations: 207.8 kB / 400.6 MB, free: 152 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.1087, allocations: 111.5 kB / 400.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.109, allocations: 250.9 kB / 401 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.1098, allocations: 0.7081 MB / 401.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1098, allocations: 0 / 401.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1098, allocations: 0 / 401.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1098, allocations: 0 / 401.7 MB, free: 15.08 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.002157/0.112, allocations: 0.9471 MB / 402.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.112, allocations: 8.031 kB / 402.6 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.089e-05/0.112, allocations: 17.5 kB / 402.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.1122, allocations: 104 kB / 402.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.1164, allocations: 0.5937 MB / 403.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.1169, allocations: 319.6 kB / 403.6 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.1169, allocations: 45.69 kB / 403.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-05/0.117, allocations: 63.94 kB / 403.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.118, allocations: 0.5609 MB / 404.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.1181, allocations: 8 kB / 404.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.1181, allocations: 20 kB / 404.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1181, allocations: 16 kB / 404.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1193, allocations: 0.6415 MB / 405 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.1225, allocations: 2.054 MB / 407 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.1254, allocations: 2.992 MB / 410 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.1258, allocations: 206 kB / 410.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.1259, allocations: 89.53 kB / 410.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1259, allocations: 42.94 kB / 410.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.194e-06/0.1259, allocations: 0 / 410.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.004679/0.1306, allocations: 1.969 MB / 412.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1307, allocations: 63.91 kB / 412.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1309, allocations: 201.1 kB / 412.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.1309, allocations: 33.7 kB / 412.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1311, allocations: 252.8 kB / 412.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.1313, allocations: 242 kB / 413.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.1315, allocations: 118.6 kB / 413.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1317, allocations: 338.8 kB / 413.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.1322, allocations: 233.9 kB / 413.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.1327, allocations: 354.5 kB / 414.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.1338, allocations: 0.6059 MB / 414.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1338, allocations: 0 / 414.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001708/0.1355, allocations: 0.8344 MB / 415.6 MB, free: 132 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.1355, allocations: 15.84 kB / 415.6 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1356, allocations: 4 kB / 415.6 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.1362, allocations: 185.6 kB / 415.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.1367, allocations: 127.8 kB / 415.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/0.1411, allocations: 4.154 MB / 420.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.1415, allocations: 35.91 kB / 420.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.1416, allocations: 24 kB / 420.1 MB, free: 11.3 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.1418, allocations: 181.8 kB / 420.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.1419, allocations: 35.77 kB / 420.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.1437, allocations: 0.8109 MB / 421.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1437, allocations: 8 kB / 421.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.1437, allocations: 7.938 kB / 421.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1437, allocations: 7.984 kB / 421.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.1463, allocations: 1.565 MB / 422.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1464, allocations: 0 / 422.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004429/0.1468, allocations: 103.8 kB / 422.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005405/0.1473, allocations: 173.9 kB / 423 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.1474, allocations: 16 kB / 423 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.1514, allocations: 3.878 MB / 426.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1515, allocations: 0 / 426.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.1538, allocations: 1.152 MB / 428 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1539, allocations: 108.9 kB / 428.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.154, allocations: 20 kB / 428.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.1543, allocations: 31.97 kB / 428.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1544, allocations: 48.58 kB / 428.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.1545, allocations: 20 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1546, allocations: 143.1 kB / 428.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1546, allocations: 0 / 428.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007545/0.1554, allocations: 160 kB / 428.6 MB, free: 2.438 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (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.002713/0.1581, allocations: 1.732 MB / 430.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.16, allocations: 0.9009 MB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.16, allocations: 0.8125 kB / 431.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.161, allocations: 0.6061 MB / 431.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1614, allocations: 44.05 kB / 431.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00714/0.1685, allocations: 4.417 MB / 436.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1691, allocations: 0.8415 MB / 437.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002327/0.1693, allocations: 55.39 kB / 437.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.1696, allocations: 179.4 kB / 437.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1696, allocations: 0 / 437.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.2068, allocations: 10.3 MB / 447.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/10.63, allocations: 15.83 kB / 447.6 MB, free: 14.99 MB / 382.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/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/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: 13.041390875005163]