Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.006018/0.006018, allocations: 99.88 kB / 21.96 MB, free: 5.203 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.00144/0.00144, allocations: 217.5 kB / 25.26 MB, free: 3.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 55.92 kB / 348 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 49.16 MB / 397.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004253/0.2532, allocations: 3.412 MB / 400.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.2554, allocations: 1.376 MB / 401.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.2556, allocations: 10.09 kB / 401.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.2571, allocations: 0.7016 MB / 402.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.2579, allocations: 407.8 kB / 403 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009076/0.2588, allocations: 0.5257 MB / 403.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.2592, allocations: 495.9 kB / 404 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005552/0.2597, allocations: 436.3 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.26, allocations: 231.9 kB / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.2603, allocations: 289.4 kB / 405 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.2603, allocations: 46.41 kB / 405 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.2607, allocations: 213.3 kB / 405.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.785e-05/0.2607, allocations: 116 kB / 405.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2609, allocations: 206 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.2617, allocations: 0.7256 MB / 406.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2617, allocations: 0 / 406.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2617, allocations: 0 / 406.3 MB, free: 3.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2617, allocations: 0 / 406.3 MB, free: 3.398 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001906/0.2636, allocations: 0.8788 MB / 407.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2636, allocations: 13.58 kB / 407.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.322e-05/0.2636, allocations: 21.5 kB / 407.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.2638, allocations: 102.3 kB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/0.2678, allocations: 0.5891 MB / 407.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.2682, allocations: 269 kB / 408.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.2683, allocations: 45.06 kB / 408.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/0.2683, allocations: 57.06 kB / 408.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.2693, allocations: 0.5991 MB / 408.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.2693, allocations: 1.219 kB / 408.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.2694, allocations: 25.03 kB / 408.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.2694, allocations: 19.11 kB / 408.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2705, allocations: 0.6539 MB / 409.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.273, allocations: 1.697 MB / 411.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2745, allocations: 0.6303 MB / 411.9 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.2749, allocations: 256.6 kB / 412.1 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.264e-05/0.275, allocations: 9.625 kB / 412.1 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.275, allocations: 42.38 kB / 412.2 MB, free: 312 kB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.275, allocations: 0 / 412.2 MB, free: 312 kB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004128/0.2791, allocations: 1.766 MB / 413.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2792, allocations: 58.75 kB / 414 MB, free: 15.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.2794, allocations: 200.4 kB / 414.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.2794, allocations: 36.83 kB / 414.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2796, allocations: 239.1 kB / 414.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.2798, allocations: 239.4 kB / 414.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.28, allocations: 112.6 kB / 414.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2801, allocations: 342.7 kB / 415.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.2806, allocations: 232 kB / 415.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.2811, allocations: 368.8 kB / 415.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2822, allocations: 0.6145 MB / 416.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.2822, allocations: 5.031 kB / 416.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001606/0.2838, allocations: 0.8114 MB / 417.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2838, allocations: 9.438 kB / 417.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2838, allocations: 8.109 kB / 417.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.2844, allocations: 174.3 kB / 417.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.285, allocations: 131.1 kB / 417.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/0.2885, allocations: 3.365 MB / 420.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.2889, allocations: 30.69 kB / 420.9 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.289, allocations: 27.66 kB / 420.9 MB, free: 9.754 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (69): * Single equations (assignments): 67 * 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.000279/0.2893, allocations: 181.9 kB / 421.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.727e-05/0.2894, allocations: 35.66 kB / 421.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.291, allocations: 0.7945 MB / 421.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2911, allocations: 6.938 kB / 421.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2911, allocations: 10.69 kB / 421.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2911, allocations: 7.984 kB / 421.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.2937, allocations: 1.431 MB / 423.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2937, allocations: 1.375 kB / 423.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.2941, allocations: 100.1 kB / 423.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.2946, allocations: 171 kB / 423.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.2947, allocations: 20 kB / 423.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.2981, allocations: 3.365 MB / 427 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2981, allocations: 4.125 kB / 427 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.3002, allocations: 1.159 MB / 428.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.3003, allocations: 31.78 kB / 428.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.3004, allocations: 15.98 kB / 428.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.3007, allocations: 27.98 kB / 428.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.3008, allocations: 56.48 kB / 428.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.3009, allocations: 16 kB / 428.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.301, allocations: 148.3 kB / 428.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.301, allocations: 0 / 428.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006256/0.3016, allocations: 164 kB / 428.6 MB, free: 2.73 MB / 334.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 (55): * Single equations (assignments): 53 * 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.002497/0.3041, allocations: 1.743 MB / 430.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.3057, allocations: 0.8852 MB / 431.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3057, allocations: 0 / 431.2 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000981/0.3067, allocations: 0.6033 MB / 431.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3071, allocations: 36 kB / 431.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.3138, allocations: 4.414 MB / 436.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3141, allocations: 242.5 kB / 436.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.3143, allocations: 63.33 kB / 436.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.3146, allocations: 167.3 kB / 436.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3146, allocations: 4 kB / 436.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/0.3539, allocations: 10.83 MB / 447.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.07, allocations: 4.062 kB / 447.6 MB, free: 15.36 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.362157740979455]