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.001947/0.001947, allocations: 116.7 kB / 20.44 MB, free: 1.324 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.002306/0.002306, allocations: 205 kB / 23.74 MB, free: 4.551 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8.012 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.84 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2711, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005584/0.2766, allocations: 3.747 MB / 434.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.2796, allocations: 1.518 MB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2798, allocations: 12 kB / 436.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.2816, allocations: 0.7545 MB / 437.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2827, allocations: 393.7 kB / 437.6 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2838, allocations: 0.5601 MB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.2844, allocations: 458 kB / 438.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.2852, allocations: 442.4 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2855, allocations: 219.2 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2859, allocations: 271 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.431e-05/0.286, allocations: 48 kB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.2864, allocations: 219.8 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2865, allocations: 115.5 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.2867, allocations: 226.9 kB / 440.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008945/0.2876, allocations: 0.7043 MB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.2876, allocations: 4 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2876, allocations: 4 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.2876, allocations: 0 / 440.8 MB, free: 13.02 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002138/0.2898, allocations: 0.8446 MB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2898, allocations: 12.03 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.29, allocations: 104 kB / 441.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.2934, allocations: 472.2 kB / 442.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2939, allocations: 253.2 kB / 442.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.2939, allocations: 45.69 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.294, allocations: 56.33 kB / 442.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.295, allocations: 0.5336 MB / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.295, allocations: 0 / 443.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.2951, allocations: 24 kB / 443.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2951, allocations: 15.94 kB / 443.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2962, allocations: 0.5868 MB / 443.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.2993, allocations: 1.739 MB / 445.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.3007, allocations: 0.5561 MB / 446.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.3012, allocations: 230 kB / 446.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/0.3013, allocations: 32.34 kB / 446.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3013, allocations: 35 kB / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.3013, allocations: 0 / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001778/0.3031, allocations: 0.6713 MB / 447 MB, free: 6.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3032, allocations: 55.84 kB / 447.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3034, allocations: 187 kB / 447.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3034, allocations: 29.7 kB / 447.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3036, allocations: 221 kB / 447.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.3037, allocations: 174.5 kB / 447.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3038, allocations: 78.19 kB / 447.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.304, allocations: 346.8 kB / 448.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3043, allocations: 152.9 kB / 448.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.3047, allocations: 237.9 kB / 448.5 MB, free: 5.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/0.3054, allocations: 420.9 kB / 448.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3054, allocations: 0 / 448.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00104/0.3065, allocations: 0.5358 MB / 449.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3065, allocations: 4 kB / 449.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3065, allocations: 4 kB / 449.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.3069, allocations: 76.8 kB / 449.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.3072, allocations: 107.8 kB / 449.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.3092, allocations: 1.67 MB / 451.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.3095, allocations: 47.72 kB / 451.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.3095, allocations: 16 kB / 451.3 MB, free: 2.121 MB / 350.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 (52): * 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: 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.3097, allocations: 169.7 kB / 451.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.3098, allocations: 27.86 kB / 451.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3109, allocations: 0.5394 MB / 452.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3109, allocations: 4 kB / 452.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3109, allocations: 7.938 kB / 452.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.3109, allocations: 3.984 kB / 452.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.3128, allocations: 1.116 MB / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3128, allocations: 0 / 453.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.3132, allocations: 75.89 kB / 453.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.3134, allocations: 88.75 kB / 453.4 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3135, allocations: 15.98 kB / 453.4 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.3153, allocations: 1.67 MB / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3153, allocations: 0 / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3167, allocations: 0.7991 MB / 455.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.3167, allocations: 27.77 kB / 455.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.3167, allocations: 12 kB / 455.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.317, allocations: 24.05 kB / 455.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.916e-05/0.3171, allocations: 40.3 kB / 455.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3171, allocations: 16 kB / 456 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3172, allocations: 139.2 kB / 456.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3172, allocations: 0 / 456.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.3178, allocations: 151.7 kB / 456.2 MB, free: 12.98 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 (44): * Single equations (assignments): 43 * 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 {(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.001904/0.3197, allocations: 1.375 MB / 457.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3208, allocations: 0.5542 MB / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3208, allocations: 0 / 458.2 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.3214, allocations: 353.7 kB / 458.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3217, allocations: 42.61 kB / 458.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/0.3268, allocations: 3.46 MB / 462 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.3273, allocations: 0.8045 MB / 462.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.3274, allocations: 50.94 kB / 462.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.3276, allocations: 139.4 kB / 463 MB, free: 5.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3276, allocations: 0 / 463 MB, free: 5.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.3713, allocations: 8.091 MB / 471.1 MB, free: 14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.09, allocations: 19.81 kB / 471.1 MB, free: 13.99 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.469811592018232]