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.001857/0.001857, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002311/0.002311, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.525/1.525, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.0018/0.0018, allocations: 51.92 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1079, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.214/0.3219, allocations: 5.098 MB / 431.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.325, allocations: 1.857 MB / 433.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.3255, allocations: 15.06 kB / 433.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.3281, allocations: 1.181 MB / 434.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.3299, allocations: 0.6223 MB / 435.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3312, allocations: 0.608 MB / 435.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3325, allocations: 0.7584 MB / 436.5 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009286/0.3334, allocations: 448.1 kB / 436.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.3341, allocations: 339.8 kB / 437.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.3347, allocations: 424 kB / 437.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3348, allocations: 62.59 kB / 437.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.3356, allocations: 254.3 kB / 438 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3358, allocations: 168.3 kB / 438.1 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.3362, allocations: 378.5 kB / 438.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3378, allocations: 1.029 MB / 439.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3378, allocations: 0 / 439.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3378, allocations: 0 / 439.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.3378, allocations: 5.062 kB / 439.5 MB, free: 5.777 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.004448/0.3423, allocations: 1.392 MB / 440.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3423, allocations: 10.16 kB / 440.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.3425, allocations: 130.9 kB / 441.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006139/0.3486, allocations: 0.7875 MB / 441.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.3496, allocations: 419.6 kB / 442.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.3497, allocations: 58.12 kB / 442.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.3499, allocations: 83.09 kB / 442.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.3515, allocations: 0.7704 MB / 443.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.3516, allocations: 6.047 kB / 443.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.3517, allocations: 29.53 kB / 443.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.3517, allocations: 19.88 kB / 443.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.3535, allocations: 0.911 MB / 444.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.3582, allocations: 2.759 MB / 446.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.3604, allocations: 2.124 MB / 449 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006578/0.361, allocations: 289.8 kB / 449.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.3613, allocations: 185.4 kB / 449.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.3613, allocations: 47.89 kB / 449.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.655e-06/0.3613, allocations: 0 / 449.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004144/0.3655, allocations: 1.337 MB / 450.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3655, allocations: 59.19 kB / 450.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.3659, allocations: 294.3 kB / 451.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.202e-05/0.366, allocations: 45.02 kB / 451.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.3662, allocations: 289.3 kB / 451.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.3665, allocations: 269.1 kB / 451.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.3667, allocations: 126 kB / 451.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3669, allocations: 354.8 kB / 452.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.3674, allocations: 236.7 kB / 452.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.368, allocations: 364.4 kB / 452.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3692, allocations: 0.6307 MB / 453.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3692, allocations: 5.406 kB / 453.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002019/0.3712, allocations: 0.8624 MB / 454.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3712, allocations: 10.62 kB / 454.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3712, allocations: 4.781 kB / 454.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/0.3721, allocations: 208.1 kB / 454.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.3727, allocations: 131.7 kB / 454.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.3765, allocations: 2.71 MB / 457.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.3771, allocations: 73.02 kB / 457.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.3772, allocations: 33.2 kB / 457.5 MB, free: 10.64 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.0003662/0.3775, allocations: 200.4 kB / 457.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3776, allocations: 49.45 kB / 457.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.3798, allocations: 0.883 MB / 458.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.3798, allocations: 11.84 kB / 458.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3798, allocations: 3.969 kB / 458.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.3798, allocations: 4.969 kB / 458.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.3829, allocations: 1.699 MB / 460.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3829, allocations: 0 / 460.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.3835, allocations: 118.3 kB / 460.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007774/0.3842, allocations: 196.2 kB / 460.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.3843, allocations: 21.3 kB / 460.7 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.388, allocations: 2.7 MB / 463.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.388, allocations: 0 / 463.4 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.3907, allocations: 1.27 MB / 464.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.391, allocations: 124.9 kB / 464.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.3911, allocations: 19.09 kB / 464.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3915, allocations: 27.95 kB / 464.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.3916, allocations: 58.81 kB / 464.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.3917, allocations: 23.94 kB / 464.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002748/0.392, allocations: 206.6 kB / 465.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.392, allocations: 0 / 465.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001021/0.393, allocations: 243.3 kB / 465.3 MB, free: 5.613 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.003234/0.3962, allocations: 1.843 MB / 467.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.3982, allocations: 0.8113 MB / 468 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3982, allocations: 0 / 468 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3993, allocations: 0.5115 MB / 468.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.3999, allocations: 58.48 kB / 468.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/0.4094, allocations: 5.092 MB / 473.7 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.41, allocations: 0.8865 MB / 474.5 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.4103, allocations: 74.56 kB / 474.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.4107, allocations: 228.3 kB / 474.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.021e-06/0.4107, allocations: 1.375 kB / 474.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.4602, allocations: 12.56 MB / 487.4 MB, free: 2.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.25, allocations: 0.5 kB / 487.4 MB, free: 2.797 MB / 382.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.179304564837366]