Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001299/0.001299, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001343/0.001343, allocations: 219 kB / 21.46 MB, free: 1.586 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.39/1.39, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.92 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007075/0.1115, allocations: 5.105 MB / 432.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.1151, allocations: 1.858 MB / 434 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.1154, allocations: 16 kB / 434 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.118, allocations: 1.186 MB / 435.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.1194, allocations: 0.6218 MB / 435.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1206, allocations: 0.6105 MB / 436.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.1216, allocations: 0.7544 MB / 437.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007899/0.1224, allocations: 440.4 kB / 437.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.1229, allocations: 346.6 kB / 437.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000467/0.1234, allocations: 414.3 kB / 438.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.1235, allocations: 64 kB / 438.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.1241, allocations: 255.8 kB / 438.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1243, allocations: 175.3 kB / 438.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1246, allocations: 374.1 kB / 439.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.1259, allocations: 1.031 MB / 440.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1259, allocations: 0 / 440.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1259, allocations: 0 / 440.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1259, allocations: 0 / 440.2 MB, free: 7.508 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003863/0.1298, allocations: 1.403 MB / 441.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1298, allocations: 8.031 kB / 441.6 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.454e-05/0.1299, allocations: 22.19 kB / 441.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.13, allocations: 127.1 kB / 441.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/0.1359, allocations: 0.7809 MB / 442.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008145/0.1367, allocations: 419.1 kB / 443 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.1367, allocations: 62.12 kB / 443 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.1369, allocations: 76 kB / 443.1 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1384, allocations: 0.7726 MB / 443.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.1385, allocations: 7.953 kB / 443.9 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.1386, allocations: 28 kB / 443.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1386, allocations: 20 kB / 443.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.1402, allocations: 0.9096 MB / 444.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2136/0.3538, allocations: 2.763 MB / 447.6 MB, free: 23.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.356, allocations: 2.111 MB / 449.7 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.3565, allocations: 293.6 kB / 450 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3566, allocations: 185 kB / 450.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.3566, allocations: 42.55 kB / 450.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.284e-06/0.3566, allocations: 0.5312 kB / 450.2 MB, free: 21.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.003357/0.36, allocations: 1.348 MB / 451.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.36, allocations: 65.47 kB / 451.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.3603, allocations: 286.8 kB / 451.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3604, allocations: 42.06 kB / 452 MB, free: 21.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3605, allocations: 295.8 kB / 452.3 MB, free: 20.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.3607, allocations: 261.3 kB / 452.5 MB, free: 20.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.3609, allocations: 125.9 kB / 452.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.392e-05/0.361, allocations: 360.7 kB / 453 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.3614, allocations: 234.9 kB / 453.2 MB, free: 20.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.3619, allocations: 360.2 kB / 453.6 MB, free: 20.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.363, allocations: 0.6347 MB / 454.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.363, allocations: 1.125 kB / 454.2 MB, free: 19.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00179/0.3648, allocations: 0.8577 MB / 455.1 MB, free: 19.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3648, allocations: 13.03 kB / 455.1 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3648, allocations: 3.875 kB / 455.1 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007905/0.3656, allocations: 206.2 kB / 455.3 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.3662, allocations: 137.1 kB / 455.4 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.3692, allocations: 2.708 MB / 458.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3697, allocations: 71.28 kB / 458.2 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.3697, allocations: 30.98 kB / 458.2 MB, free: 17.27 MB / 366.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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.37, allocations: 204 kB / 458.4 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.3701, allocations: 45.94 kB / 458.5 MB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.372, allocations: 0.8975 MB / 459.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.372, allocations: 8.469 kB / 459.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.372, allocations: 3.375 kB / 459.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.372, allocations: 5.859 kB / 459.4 MB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3747, allocations: 1.69 MB / 461.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3747, allocations: 0.5156 kB / 461.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.3751, allocations: 115.9 kB / 461.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007194/0.3759, allocations: 203.6 kB / 461.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/0.3759, allocations: 18.47 kB / 461.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.3787, allocations: 2.712 MB / 464.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3787, allocations: 0 / 464.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3808, allocations: 1.249 MB / 465.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3809, allocations: 139.8 kB / 465.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.381, allocations: 14.81 kB / 465.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.3813, allocations: 27.7 kB / 465.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3814, allocations: 58.86 kB / 465.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.3815, allocations: 22.58 kB / 465.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.3817, allocations: 208.8 kB / 465.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3817, allocations: 0 / 465.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.3825, allocations: 235.5 kB / 466.1 MB, free: 12.66 MB / 366.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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002417/0.3849, allocations: 1.842 MB / 467.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3865, allocations: 0.8022 MB / 468.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3865, allocations: 8.625 kB / 468.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.3874, allocations: 0.5142 MB / 469.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3879, allocations: 58.39 kB / 469.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.3947, allocations: 5.083 MB / 474.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.395, allocations: 0.8891 MB / 475.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.3953, allocations: 75.45 kB / 475.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.3956, allocations: 229.1 kB / 475.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3956, allocations: 1.656 kB / 475.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.4309, allocations: 12.61 MB / 488.2 MB, free: 2.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.05, allocations: 7.328 kB / 488.2 MB, free: 2.359 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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: 14.146925191977061]