Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001484, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.08 kB / 306.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09557, allocations: 50.52 MB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004593/0.1002, allocations: 2.879 MB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1018, allocations: 0.7595 MB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.102, allocations: 4 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1023, allocations: 51.66 kB / 360.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.1026, allocations: 83.31 kB / 360.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1031, allocations: 103.8 kB / 361 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005604/0.1037, allocations: 446.8 kB / 361.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.104, allocations: 220.9 kB / 361.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.1044, allocations: 183.4 kB / 361.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.1047, allocations: 207.1 kB / 362 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.942e-05/0.1047, allocations: 48 kB / 362 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1049, allocations: 52 kB / 362.1 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.402e-05/0.105, allocations: 99.67 kB / 362.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1052, allocations: 219 kB / 362.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.1056, allocations: 0.4985 MB / 362.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1057, allocations: 4 kB / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1057, allocations: 0 / 362.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1057, allocations: 0 / 362.9 MB, free: 8.266 MB / 302.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.001147/0.1068, allocations: 0.691 MB / 363.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1069, allocations: 8.031 kB / 363.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.107, allocations: 86.7 kB / 363.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.1073, allocations: 52.45 kB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1076, allocations: 272.4 kB / 364 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.1076, allocations: 37.31 kB / 364 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.1077, allocations: 48.28 kB / 364.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.1084, allocations: 451.4 kB / 364.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1084, allocations: 0 / 364.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.1085, allocations: 16 kB / 364.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1085, allocations: 12 kB / 364.6 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.109, allocations: 283.9 kB / 364.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1109, allocations: 1.31 MB / 366.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.1113, allocations: 238.7 kB / 366.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.1117, allocations: 201.8 kB / 366.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1117, allocations: 8 kB / 366.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1117, allocations: 34.56 kB / 366.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.1118, allocations: 0 / 366.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001314/0.1131, allocations: 0.5423 MB / 367.2 MB, free: 3.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1132, allocations: 243.3 kB / 367.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1134, allocations: 210.8 kB / 367.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1134, allocations: 29.7 kB / 367.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1135, allocations: 204.2 kB / 367.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.1136, allocations: 102.5 kB / 367.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1137, allocations: 65.69 kB / 368 MB, free: 2.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1138, allocations: 330.8 kB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.114, allocations: 79.7 kB / 368.4 MB, free: 2.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1142, allocations: 152.5 kB / 368.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.1145, allocations: 207.1 kB / 368.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1145, allocations: 0 / 368.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004313/0.115, allocations: 273.1 kB / 369 MB, free: 1.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.115, allocations: 4 kB / 369 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.115, allocations: 4.062 kB / 369 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.115, allocations: 4 kB / 369 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.1153, allocations: 83.89 kB / 369.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1154, allocations: 0 / 369.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.1155, allocations: 27.69 kB / 369.1 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.1156, allocations: 15.98 kB / 369.1 MB, free: 1.613 MB / 302.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.0001435/0.1157, allocations: 153.7 kB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.1158, allocations: 27.66 kB / 369.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.1158, allocations: 34.66 kB / 369.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1159, allocations: 4 kB / 369.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.1159, allocations: 7.984 kB / 369.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1159, allocations: 0 / 369.4 MB, free: 1.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.1169, allocations: 0.7806 MB / 370.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1169, allocations: 0 / 370.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1171, allocations: 55.95 kB / 370.2 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/0.1175, allocations: 92.78 kB / 370.3 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1175, allocations: 4 kB / 370.3 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1812/0.2987, allocations: 1.972 MB / 372.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2988, allocations: 0 / 372.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008538/0.2996, allocations: 0.5034 MB / 372.8 MB, free: 18.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.2997, allocations: 101.4 kB / 372.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.2998, allocations: 9.188 kB / 372.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2999, allocations: 14.91 kB / 372.9 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.3, allocations: 24.59 kB / 372.9 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3001, allocations: 9.938 kB / 372.9 MB, free: 18.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3002, allocations: 149.4 kB / 373.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3002, allocations: 0 / 373.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.3006, allocations: 110.8 kB / 373.2 MB, free: 18.69 MB / 302.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.001011/0.3017, allocations: 1.041 MB / 374.2 MB, free: 17.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005025/0.3022, allocations: 222.1 kB / 374.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3022, allocations: 1.062 kB / 374.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.3026, allocations: 275.8 kB / 374.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3031, allocations: 41.64 kB / 374.8 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.3064, allocations: 3.042 MB / 377.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3067, allocations: 0.7888 MB / 378.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.3068, allocations: 22.91 kB / 378.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3069, allocations: 101.6 kB / 378.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3069, allocations: 1.5 kB / 378.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.3333, allocations: 5.75 MB / 384.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3336, allocations: 228.7 kB / 384.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.429, allocations: 0 / 384.7 MB, free: 13.85 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,L1.iinternal,L2.iinternal,L3.iinternal Variables in the result:C1.C,C1.IC,C1.UIC,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C1.vinternal,C2.C,C2.IC,C2.UIC,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,C2.vinternal,L1.IC,L1.ICP.L,L1.ICP.di,L1.ICP.v,L1.L,L1.UIC,L1.i,L1.iinternal,L1.n.i,L1.n.v,L1.p.i,L1.p.v,L1.v,L2.IC,L2.ICP.L,L2.ICP.di,L2.ICP.v,L2.L,L2.UIC,L2.i,L2.iinternal,L2.n.i,L2.n.v,L2.p.i,L2.p.v,L2.v,L3.IC,L3.ICP.L,L3.ICP.di,L3.ICP.v,L3.L,L3.UIC,L3.i,L3.iinternal,L3.n.i,L3.n.v,L3.p.i,L3.p.v,L3.v,R1.R,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.v,R2.R,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.v,R3.R,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.v,R4.R,R4.i,R4.n.i,R4.n.v,R4.p.i,R4.p.v,R4.v,R5.R,R5.i,R5.n.i,R5.n.v,R5.p.i,R5.p.v,R5.v,der(C1.vinternal),der(C2.vinternal),der(L1.iinternal),der(L2.iinternal),der(L3.iinternal),ground.p.i,ground.p.v,k1.M,k1.inductiveCouplePin1.L,k1.inductiveCouplePin1.di,k1.inductiveCouplePin1.v,k1.inductiveCouplePin2.L,k1.inductiveCouplePin2.di,k1.inductiveCouplePin2.v,k1.k,k2.M,k2.inductiveCouplePin1.L,k2.inductiveCouplePin1.di,k2.inductiveCouplePin1.v,k2.inductiveCouplePin2.L,k2.inductiveCouplePin2.di,k2.inductiveCouplePin2.v,k2.k,k3.M,k3.inductiveCouplePin1.L,k3.inductiveCouplePin1.di,k3.inductiveCouplePin1.v,k3.inductiveCouplePin2.L,k3.inductiveCouplePin2.di,k3.inductiveCouplePin2.v,k3.k,sineVoltage.FREQ,sineVoltage.TD,sineVoltage.THETA,sineVoltage.VA,sineVoltage.VO,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.v,time