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.001755/0.001755, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002381/0.002381, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 7.785 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_MultipleResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2355, allocations: 53.37 MB / 431.1 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006229/0.2418, allocations: 4.563 MB / 435.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.245, allocations: 1.721 MB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.2452, allocations: 12 kB / 437.4 MB, free: 312 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.2478, allocations: 1.089 MB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2492, allocations: 0.6131 MB / 439.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.2506, allocations: 0.5779 MB / 439.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009457/0.2515, allocations: 0.7583 MB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.2523, allocations: 0.5352 MB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004402/0.2528, allocations: 338.7 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.2533, allocations: 430.3 kB / 441.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.2534, allocations: 64 kB / 441.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.2539, allocations: 251.8 kB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2541, allocations: 171.3 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.2544, allocations: 306.5 kB / 442.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2556, allocations: 1.027 MB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2556, allocations: 0 / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2556, allocations: 4 kB / 443.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2556, allocations: 0 / 443.5 MB, free: 10.16 MB / 350.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.003903/0.2595, allocations: 1.328 MB / 444.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2596, allocations: 8.031 kB / 444.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/0.2597, allocations: 127.1 kB / 445 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/0.2656, allocations: 0.7887 MB / 445.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.2663, allocations: 358.6 kB / 446.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.2664, allocations: 62.38 kB / 446.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2665, allocations: 75.94 kB / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2681, allocations: 0.8268 MB / 447.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.2681, allocations: 3.953 kB / 447.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/0.2682, allocations: 32 kB / 447.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.2682, allocations: 16 kB / 447.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.2699, allocations: 0.8979 MB / 448 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.2739, allocations: 2.303 MB / 450.3 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.2757, allocations: 0.7633 MB / 451.1 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.2763, allocations: 295.1 kB / 451.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.2764, allocations: 28.62 kB / 451.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2764, allocations: 39.22 kB / 451.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.425e-06/0.2764, allocations: 4 kB / 451.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003713/0.2801, allocations: 1.263 MB / 452.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.2802, allocations: 60.06 kB / 452.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.2805, allocations: 300.1 kB / 453.1 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.2806, allocations: 37.7 kB / 453.1 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.2808, allocations: 292.7 kB / 453.4 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.2811, allocations: 269.8 kB / 453.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.2813, allocations: 126.6 kB / 453.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.2815, allocations: 358.5 kB / 454.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.2821, allocations: 237.9 kB / 454.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.2827, allocations: 358.5 kB / 454.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2837, allocations: 0.6298 MB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.2837, allocations: 3.938 kB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00187/0.2856, allocations: 0.8609 MB / 456.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2856, allocations: 8 kB / 456.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2856, allocations: 8 kB / 456.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008114/0.2864, allocations: 204.6 kB / 456.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.287, allocations: 143.7 kB / 456.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.2906, allocations: 2.572 MB / 459.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2911, allocations: 63.55 kB / 459.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.2911, allocations: 32 kB / 459.2 MB, free: 9.992 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.0003272/0.2914, allocations: 196.7 kB / 459.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2915, allocations: 51.66 kB / 459.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.2936, allocations: 0.8936 MB / 460.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2936, allocations: 4 kB / 460.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2936, allocations: 4 kB / 460.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2936, allocations: 3.984 kB / 460.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.2965, allocations: 1.57 MB / 461.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2965, allocations: 0 / 461.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.297, allocations: 115.8 kB / 462.1 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007526/0.2978, allocations: 204.6 kB / 462.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.2978, allocations: 20 kB / 462.3 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00349/0.3013, allocations: 2.562 MB / 464.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.3013, allocations: 3.938 kB / 464.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/0.3037, allocations: 1.261 MB / 466.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.3038, allocations: 55.55 kB / 466.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.3039, allocations: 19.94 kB / 466.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3043, allocations: 23.98 kB / 466.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3044, allocations: 60.61 kB / 466.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.3044, allocations: 23.98 kB / 466.3 MB, free: 2.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3047, allocations: 207.1 kB / 466.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3047, allocations: 0 / 466.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007793/0.3054, allocations: 235.6 kB / 466.7 MB, free: 2.293 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.002865/0.3083, allocations: 1.848 MB / 468.6 MB, free: 424 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.3099, allocations: 0.8046 MB / 469.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3099, allocations: 4 kB / 469.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.3108, allocations: 0.5105 MB / 469.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.3113, allocations: 64.98 kB / 469.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008019/0.3193, allocations: 5.079 MB / 475 MB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3196, allocations: 290.9 kB / 475.3 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.3199, allocations: 72.55 kB / 475.4 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.3203, allocations: 227.3 kB / 475.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3203, allocations: 0 / 475.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.3691, allocations: 13.71 MB / 489.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.64, allocations: 15.98 kB / 489.3 MB, free: 11.62 MB / 398.1 MB " [Timeout remaining time 648] (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.470188620005501]