Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 118.3 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00205/0.00205, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.88 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 53.37 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006309/0.1228, allocations: 3.732 MB / 430.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.1259, allocations: 1.503 MB / 432.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.1263, allocations: 11.94 kB / 432.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.1285, allocations: 0.7654 MB / 433.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.1298, allocations: 390 kB / 433.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.131, allocations: 0.5453 MB / 434 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007451/0.1317, allocations: 466 kB / 434.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007878/0.1325, allocations: 377.8 kB / 434.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.133, allocations: 227.2 kB / 435 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004255/0.1334, allocations: 270.9 kB / 435.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1335, allocations: 48 kB / 435.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1341, allocations: 215.8 kB / 435.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1342, allocations: 107.6 kB / 435.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.1345, allocations: 238.8 kB / 435.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1357, allocations: 0.7004 MB / 436.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1357, allocations: 4 kB / 436.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1357, allocations: 4 kB / 436.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.037e-05/0.1357, allocations: 0 / 436.6 MB, free: 11.04 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002876/0.1386, allocations: 0.92 MB / 437.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1386, allocations: 12.03 kB / 437.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.834e-05/0.1387, allocations: 21.48 kB / 437.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.1389, allocations: 108 kB / 437.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.1426, allocations: 468.2 kB / 438.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.1432, allocations: 311.7 kB / 438.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.1433, allocations: 41.69 kB / 438.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.1434, allocations: 60.06 kB / 438.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.1446, allocations: 0.5336 MB / 439.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1447, allocations: 4 kB / 439.1 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.1447, allocations: 24 kB / 439.1 MB, free: 8.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.1447, allocations: 16 kB / 439.1 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.146, allocations: 0.5829 MB / 439.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.1495, allocations: 1.997 MB / 441.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.152, allocations: 2.143 MB / 443.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.1526, allocations: 246 kB / 444.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1527, allocations: 178.6 kB / 444.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1528, allocations: 39 kB / 444.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.705e-06/0.1528, allocations: 0 / 444.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.004708/0.1575, allocations: 1.864 MB / 446.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.1575, allocations: 63.91 kB / 446.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1577, allocations: 194.2 kB / 446.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.1578, allocations: 37.7 kB / 446.4 MB, free: 468 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1579, allocations: 221 kB / 446.6 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.1581, allocations: 226 kB / 446.9 MB, free: 12 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2071/0.3652, allocations: 97.81 kB / 447 MB, free: 24.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3654, allocations: 341.4 kB / 447.3 MB, free: 24.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.366, allocations: 221.3 kB / 447.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.3666, allocations: 314.1 kB / 447.8 MB, free: 24.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3676, allocations: 0.5526 MB / 448.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3677, allocations: 1 kB / 448.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001589/0.3692, allocations: 0.7724 MB / 449.1 MB, free: 23.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3693, allocations: 6.344 kB / 449.2 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3693, allocations: 2.125 kB / 449.2 MB, free: 23.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/0.3699, allocations: 170.2 kB / 449.3 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.3704, allocations: 116.9 kB / 449.4 MB, free: 23.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.3733, allocations: 3.61 MB / 453 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3737, allocations: 28.06 kB / 453.1 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.3737, allocations: 26.06 kB / 453.1 MB, free: 20.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (61): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.3739, allocations: 179.1 kB / 453.3 MB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.374, allocations: 37.2 kB / 453.3 MB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.3757, allocations: 0.78 MB / 454.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3758, allocations: 7 kB / 454.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3758, allocations: 2.281 kB / 454.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.3758, allocations: 9.359 kB / 454.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/0.3783, allocations: 1.518 MB / 455.6 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.3783, allocations: 0 / 455.6 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.3787, allocations: 102.1 kB / 455.7 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005569/0.3793, allocations: 160.8 kB / 455.9 MB, free: 19.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.3793, allocations: 14.47 kB / 455.9 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.3822, allocations: 3.611 MB / 459.5 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3822, allocations: 1.031 kB / 459.5 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.3844, allocations: 1.14 MB / 460.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.3845, allocations: 110.7 kB / 460.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.168e-05/0.3846, allocations: 12.84 kB / 460.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.3849, allocations: 30.3 kB / 460.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.385, allocations: 56.78 kB / 460.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.3851, allocations: 20.86 kB / 460.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3852, allocations: 130.1 kB / 461 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3852, allocations: 5.312 kB / 461 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007123/0.3859, allocations: 151.8 kB / 461.2 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (53): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/0.3883, allocations: 1.734 MB / 462.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.39, allocations: 0.8647 MB / 463.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.39, allocations: 2.734 kB / 463.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009744/0.391, allocations: 0.5953 MB / 464.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.3914, allocations: 34.47 kB / 464.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.3977, allocations: 4.197 MB / 468.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.3981, allocations: 0.8268 MB / 469.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.3983, allocations: 58.16 kB / 469.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3985, allocations: 153.9 kB / 469.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3985, allocations: 0 / 469.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.4365, allocations: 9.999 MB / 479.6 MB, free: 7.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.02, allocations: 6.938 kB / 479.6 MB, free: 7.234 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.52410958398832]