Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001986/0.001986, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002581/0.002581, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 51.91 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3044, allocations: 53.36 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004283/0.3087, allocations: 2.864 MB / 434 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3101, allocations: 0.7749 MB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3103, allocations: 8 kB / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.3104, allocations: 59.42 kB / 434.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3106, allocations: 99.05 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.311, allocations: 119.8 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.3115, allocations: 454.8 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.3118, allocations: 177.2 kB / 435.7 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.3121, allocations: 187.4 kB / 435.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.3124, allocations: 207.1 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.3125, allocations: 44 kB / 436.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3126, allocations: 56 kB / 436.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.3127, allocations: 95.73 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3129, allocations: 215 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.3135, allocations: 0.5114 MB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3135, allocations: 0 / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3135, allocations: 0 / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3135, allocations: 4 kB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001097/0.3146, allocations: 0.6146 MB / 437.6 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3146, allocations: 12.03 kB / 437.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.3147, allocations: 78.72 kB / 437.7 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.315, allocations: 60.64 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.3153, allocations: 218.7 kB / 437.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.3154, allocations: 29.38 kB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.3154, allocations: 56.2 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.3162, allocations: 459.4 kB / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3162, allocations: 0 / 438.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.3162, allocations: 19.94 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3162, allocations: 8 kB / 438.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.3168, allocations: 279.9 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3188, allocations: 1.263 MB / 440 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.3193, allocations: 223.9 kB / 440.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/0.3197, allocations: 172.7 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3197, allocations: 7.984 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.3197, allocations: 38.56 kB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.3198, allocations: 0 / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001393/0.3211, allocations: 486.4 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.3213, allocations: 235.3 kB / 441.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.3215, allocations: 214.7 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3216, allocations: 37.64 kB / 441.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3217, allocations: 196.7 kB / 441.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.3218, allocations: 107.1 kB / 441.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3219, allocations: 61.69 kB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.3221, allocations: 342.8 kB / 442.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.3223, allocations: 75.91 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.3225, allocations: 161.5 kB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.3229, allocations: 208.2 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3229, allocations: 0 / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004872/0.3234, allocations: 281 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3234, allocations: 4 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3234, allocations: 0 / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3234, allocations: 4 kB / 442.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3237, allocations: 87.95 kB / 442.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3237, allocations: 0 / 442.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3239, allocations: 31.77 kB / 442.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3239, allocations: 12 kB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.3241, allocations: 153.8 kB / 443.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.3242, allocations: 27.8 kB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.014e-05/0.3242, allocations: 30.64 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3242, allocations: 4 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.3242, allocations: 4 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3242, allocations: 0 / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.3254, allocations: 0.7351 MB / 443.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3254, allocations: 0 / 443.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3256, allocations: 51.91 kB / 444 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.3259, allocations: 92.77 kB / 444.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3259, allocations: 8 kB / 444.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.3281, allocations: 1.87 MB / 445.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.3281, allocations: 8.016 kB / 445.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.3289, allocations: 0.4896 MB / 446.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.329, allocations: 31.84 kB / 446.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.329, allocations: 8 kB / 446.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.3292, allocations: 8 kB / 446.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.3292, allocations: 23.95 kB / 446.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3293, allocations: 11.94 kB / 446.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3294, allocations: 152.6 kB / 446.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3294, allocations: 0 / 446.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.3298, allocations: 111.7 kB / 446.8 MB, free: 6.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.331, allocations: 1.048 MB / 447.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004328/0.3314, allocations: 200 kB / 448 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3314, allocations: 0 / 448 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.3319, allocations: 258.5 kB / 448.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3323, allocations: 35.52 kB / 448.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.3361, allocations: 2.898 MB / 451.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.3366, allocations: 0.7909 MB / 452 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.3367, allocations: 17.95 kB / 452 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3368, allocations: 103.4 kB / 452.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3368, allocations: 0 / 452.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.3765, allocations: 6.277 MB / 458.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.53, allocations: 3.938 kB / 458.4 MB, free: 10.98 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.CoupledInductors.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: 15.15702364500612]